openapi: 3.0.3
info:
  title: Uniphore Business AI Cloud
  description: >-
    APIs for Uniphore Business AI platform spanning data, knowledge, models, and
    agents.
  version: 1.0.0
  x-metadata:
    owner: Uniphore Technologies Pvt Ltd
    team: Business AI
    department: Engineering
    status: Beta
servers:
  - url: https://forge-api-gateway-xforge.dev.uniphorecloud.com
    description: Demo Instance for Uniphore Business AI Cloud
tags:
  - name: Action Orchestrator
    description: APIs for Actions Orchestration.
  - name: Agents
    description: APIs for Agents.
  - name: Darwin
    description: APIs for Darwin.
  - name: Inferencing
    description: Pegasus APIs for Inferencing.
  - name: Meta Prompting
    description: APIs for Meta Prompting & Prompt Management.
  - name: Platform Config
    description: >-
      APIs for Platform Setup - Workflows, Sources, Destinations, Knowledge
      Bases etc.
  - name: User Management
    description: APIs for User Management - Users, Roles, Permissions etc.
paths:
  /meta-prompting/v1/validate:
    post:
      tags:
        - Meta Prompting
      summary: Validate Prompt Title
      operationId: validate_prompt_title_v1_validate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.PromptValidateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts:
    get:
      tags:
        - Meta Prompting
      summary: List Prompts
      operationId: list_prompts_v1_prompts_get
      parameters:
        - name: type
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Type
            anyOf:
              - items: {}
              - {}
        - name: category
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Category
            anyOf:
              - items: {}
              - {}
        - name: domain
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Domain
            anyOf:
              - items: {}
              - {}
        - name: language
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Language
            anyOf:
              - items: {}
              - {}
        - name: created_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Created After
            anyOf:
              - format: date-time
              - {}
        - name: created_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Created Before
            anyOf:
              - format: date-time
              - {}
        - name: updated_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Updated After
            anyOf:
              - format: date-time
              - {}
        - name: updated_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Updated Before
            anyOf:
              - format: date-time
              - {}
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Limit
            default: 100
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Offset
            default: 0
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
    post:
      tags:
        - Meta Prompting
      summary: Create Prompt
      operationId: create_prompt_v1_prompts_post
      parameters:
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.PromptCreateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/history:
    get:
      tags:
        - Meta Prompting
      summary: List Prompt Histories
      operationId: list_prompt_histories_v1_prompts_history_get
      parameters:
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Limit
            default: 100
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Offset
            default: 0
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/{prompt_id}:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt
      operationId: get_prompt_v1_prompts__prompt_id__get
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
    delete:
      tags:
        - Meta Prompting
      summary: Hard Delete Prompt
      description: Hard delete a prompt and all its versions.
      operationId: hard_delete_prompt_v1_prompts__prompt_id__delete
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
    patch:
      tags:
        - Meta Prompting
      summary: Update Prompt
      operationId: update_prompt_v1_prompts__prompt_id__patch
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.PromptUpdateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/{prompt_id}/versions/{version_id}/activate:
    patch:
      tags:
        - Meta Prompting
      summary: Update Prompt Activate Version
      operationId: >-
        update_prompt_activate_version_v1_prompts__prompt_id__versions__version_id__activate_patch
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: version_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Version Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/{prompt_id}/versions/number/{version_number}/activate:
    patch:
      tags:
        - Meta Prompting
      summary: Update Prompt Activate Version Number
      operationId: >-
        update_prompt_activate_version_number_v1_prompts__prompt_id__versions_number__version_number__activate_patch
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: version_number
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Version Number
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/versions/{version_id}:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Version By Id
      operationId: get_prompt_version_by_id_v1_versions__version_id__get
      parameters:
        - name: version_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Version Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/{prompt_id}/versions/number/{version_number}:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Version By Number
      operationId: >-
        get_prompt_version_by_number_v1_prompts__prompt_id__versions_number__version_number__get
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: version_number
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Version Number
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/{prompt_id}/history:
    get:
      tags:
        - Meta Prompting
      summary: List Prompt History
      operationId: list_prompt_history_v1_prompts__prompt_id__history_get
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Limit
            default: 100
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Offset
            default: 0
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.ListPromptHistoryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/generate:
    post:
      tags:
        - Meta Prompting
      summary: Generate Prompt
      operationId: generate_prompt_v1_prompts_generate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.PromptGenerateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/optimize:
    post:
      tags:
        - Meta Prompting
      summary: Optimize Prompt
      operationId: optimize_prompt_v1_prompts_optimize_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.OptimizeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/image/try:
    post:
      tags:
        - Meta Prompting
      summary: Describe Image Llama
      operationId: describe_image_llama_v1_prompts_image_try_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/MetaPrompting.Body_describe_image_llama_v1_prompts_image_try_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/text/try:
    post:
      tags:
        - Meta Prompting
      summary: Generate Llama Response
      operationId: generate_llama_response_v1_prompts_text_try_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetaPrompting.PromptTextTryRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /meta-prompting/v1/prompts/meta/types:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Types
      operationId: get_prompt_types_v1_prompts_meta_types_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /meta-prompting/v1/prompts/meta/categories:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Categories
      operationId: get_prompt_categories_v1_prompts_meta_categories_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /meta-prompting/v1/prompts/meta/domains:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Domains
      operationId: get_prompt_domains_v1_prompts_meta_domains_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /meta-prompting/v1/prompts/meta/tones:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Tones
      operationId: get_prompt_tones_v1_prompts_meta_tones_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /meta-prompting/v1/prompts/meta/languages:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt Languages
      operationId: get_prompt_languages_v1_prompts_meta_languages_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /meta-prompting/v2/prompts/{prompt_id}:
    get:
      tags:
        - Meta Prompting
      summary: Get Prompt
      operationId: get_prompt_v2_prompts__prompt_id__get
      parameters:
        - name: prompt_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Prompt Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.PromptResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaPrompting.HTTPValidationError'
  /user-management/v1/users:
    put:
      tags:
        - User Management
      summary: Update User
      description: Updates a User
      operationId: UpdateUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserManagement.UserRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
      security:
        - bearer-jwt: []
    post:
      tags:
        - User Management
      summary: Create User
      description: Creates a new User
      operationId: createUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserManagement.UserRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
      security:
        - bearer-jwt: []
  /user-management/v2/groups/search:
    post:
      tags:
        - User Management
      summary: Advanced Search user groups
      description: Advanced Searches User groups with search criterion
      operationId: searchUserGroups
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserManagement.AdvSearchRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                items:
                  $ref: '#/components/schemas/UserManagement.GroupResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
      security:
        - bearer-jwt: []
  /user-management/v1/users/search:
    post:
      tags:
        - User Management
      summary: Advanced Search User
      description: Advanced Searches Users with search criterion
      operationId: searchUsers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserManagement.AdvSearchRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                items:
                  $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
      security:
        - bearer-jwt: []
  /user-management/v1/users/{id}:
    get:
      tags:
        - User Management
      summary: Get User
      description: Reads a User given user Id
      operationId: getUserDetail
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
      security:
        - bearer-jwt: []
  /user-management/v1/users/me:
    get:
      tags:
        - User Management
      summary: Get Current loggedIn User
      description: Reads the loggedIn User details
      operationId: getCurrentUserDetail
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserManagement.UserResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
      security:
        - bearer-jwt: []
  /user-management/v1/roles:
    get:
      tags:
        - User Management
      summary: Get Roles
      description: Fetches a list of roles, optionally filtered by tenant ID.
      operationId: getRoles
      parameters:
        - name: tenantId
          in: query
          required: false
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                items:
                  $ref: '#/components/schemas/UserManagement.RoleResponseDto'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /darwin/v1/actions:
    get:
      tags:
        - Darwin
      summary: List All Actions
      description: |-
        Retrieve a list of actions.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch actions.

        Returns:
        - A list of actions matching the criteria.
      operationId: Darwin_List_all_actions_v1_actions_get
      parameters:
        - name: integration_name
          in: query
          description: Integration Name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
            anyOf:
              - {}
              - {}
        - name: action_name
          in: query
          description: Action Name
          required: false
          style: form
          explode: true
          schema:
            title: Action Name
            description: Action Name
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Darwin List All Actions V1 Actions Get
                items:
                  $ref: '#/components/schemas/Darwin.Action'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Darwin
      summary: Save Action
      description: |-
        save action

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: Darwin_save_action_v1_actions_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.ActionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
    delete:
      tags:
        - Darwin
      summary: Delete Integration
      description: |-
        Delete Actions

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status:
      operationId: Darwin_Delete_Integration_v1_actions_delete
      parameters:
        - name: integration_name
          in: query
          description: Integration Name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/actions/count:
    get:
      tags:
        - Darwin
      summary: Actions Count Per Integration
      description: |-
        Retrieve a list of actions.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch actions.

        Returns:
        - A list of actions matching the criteria.
      operationId: Darwin_Actions_count_per_Integration_v1_actions_count_get
      parameters:
        - name: integration_name
          in: query
          description: Integration Name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Darwin Actions Count Per Integration V1 Actions Count
                  Get
                items:
                  $ref: '#/components/schemas/Darwin.Integration'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/action-parameters:
    post:
      tags:
        - Darwin
      summary: Fetch Action Parameters
      description: |-
        Retrieve a Fetch Action parameters.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - action_service: Service to fetch actions.

        Returns:
        - A actions details matching the criteria.
      operationId: Darwin_Fetch_Action_parameters_v1_action_parameters_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.ActionParametersRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.ActionDetails'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/actions/openapi-file-upload:
    post:
      tags:
        - Darwin
      summary: Upload Openapi Spec File
      description: Openapi file upload.
      operationId: Darwin_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
      parameters:
        - name: request_data
          in: query
          description: >-
            Required params along with integration_name,description make it json
            and converted to base64 encoded string
          required: true
          style: form
          explode: true
          schema:
            title: Request Data
            description: >-
              Required params along with integration_name,description make it
              json and converted to base64 encoded string
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Darwin.Body_Darwin_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/integrations/workato/connection_mapper:
    get:
      tags:
        - Darwin
      summary: Get Workato User Mapper
      description: |-
        Retrieve a workato connection_mapper.

        Parameters:
        - tenant_id: Identifier for the tenant.
      operationId: >-
        Darwin_Get_workato_user_mapper_v1_integrations_workato_connection_mapper_get
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: integration_name
          in: query
          description: integration_name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: integration_name
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Darwin Get Workato User Mapper V1 Integrations
                  Workato Connection Mapper Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Darwin
      summary: Save User Mapper
      description: |-
        save connection_mapper

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: Darwin_save_user_mapper_v1_integrations_workato_connection_mapper_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.WorkatoUserConnectionMapper'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/integrations/{integration_name}/access_params:
    get:
      tags:
        - Darwin
      summary: Get Access Params
      description: |-
        get_access_params

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - status:
      operationId: >-
        Darwin_Get_access_params_v1_integrations_integration_name_access_params_get
      parameters:
        - name: integration_name
          in: path
          description: Integration Name
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Name
            description: Integration Name
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: provider
          in: query
          description: Provider
          required: true
          style: form
          explode: true
          schema:
            title: Provider
            description: Provider
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Darwin Get Access Params V1 Integrations Integration
                  Name Access Params Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Darwin
      summary: Save Access Params
      description: |-
        save_access_params

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - status:
      operationId: >-
        Darwin_Save_access_params_v1_integrations_integration_name_access_params_post
      parameters:
        - name: integration_name
          in: path
          description: Integration Name
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Name
            description: Integration Name
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: provider
          in: query
          description: Provider
          required: true
          style: form
          explode: true
          schema:
            title: Provider
            description: Provider
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              title: Request
              additionalProperties: {}
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/actions/functions:
    get:
      tags:
        - Darwin
      summary: Get Actions As Functions
      operationId: Darwin_Get_Actions_as_Functions_v1_actions_functions_get
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: action_name
          in: query
          description: Action Name
          required: false
          style: form
          explode: true
          schema:
            title: Action Name
            description: Action Name
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Darwin Get Actions As Functions V1 Actions Functions
                  Get
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Darwin
      summary: Fetch Actions As Functions
      operationId: Darwin_Fetch_Actions_as_Functions_v1_actions_functions_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.ActionsAsFunctionsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Darwin Fetch Actions As Functions V1 Actions
                  Functions Post
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/actions/execute:
    post:
      tags:
        - Darwin
      summary: Execute Actions
      description: Execute Action.
      operationId: Darwin_Execute_Actions_v1_actions_execute_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: false
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
            anyOf:
              - {}
              - {}
        - name: timezone
          in: query
          description: Timezone
          required: true
          style: form
          explode: true
          schema:
            title: Timezone
            description: Timezone
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: Authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
        - name: X-Roles
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Roles
            anyOf:
              - items: {}
              - {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            anyOf:
              - items: {}
              - {}
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.ActionExecuteRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.ActionExecutioResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/reports/downloads/{tenant_id}/{execution_id}/{file}:
    get:
      tags:
        - Darwin
      summary: Download File
      operationId: >-
        Darwin_download_file_v1_reports_downloads_tenant_id_execution_id_file_get
      parameters:
        - name: tenant_id
          in: path
          description: tenant_id
          required: true
          style: simple
          explode: false
          schema:
            title: Tenant Id
            description: tenant_id
        - name: execution_id
          in: path
          description: execution_id
          required: true
          style: simple
          explode: false
          schema:
            title: Execution Id
            description: execution_id
        - name: file
          in: path
          description: file
          required: true
          style: simple
          explode: false
          schema:
            title: File
            description: file
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/v1/actions/custom/execute:
    post:
      tags:
        - Darwin
      summary: Execute Actions
      description: |-
        Execute an Action.

        Request Body:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch actions.
        - action_id: Identifier for the Action.
        - action_name: Name of the Action.
        - user_id: Identifier of the User.
        - action_params: Parameters of the Action.
        - message: Message/Command for the Action.

        Returns:
        - An Action Execution response.
      operationId: Darwin_Execute_Actions_v1_actions_custom_execute_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Darwin.ExecuteActionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.ExecuteActionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
      security:
        - bearerAuth: []
  /darwin/auth/slack/callback:
    get:
      tags:
        - Darwin
      summary: Slack Callback
      operationId: Darwin_slack_callback_auth_slack_callback_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /darwin/auth/generate-url:
    get:
      tags:
        - Darwin
      summary: Get Auth Url Generate
      operationId: Darwin_get_auth_url_generate_auth_generate_url_get
      parameters:
        - name: user_id
          in: query
          description: User ID
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User ID
        - name: integration_name
          in: query
          description: Integration Name
          required: true
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
        - name: integration_id
          in: query
          description: Integration Id
          required: true
          style: form
          explode: true
          schema:
            title: Integration Id
            description: Integration Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
  /darwin/auth/status:
    get:
      tags:
        - Darwin
      summary: Get Auth Status
      operationId: Darwin_get_auth_status_auth_status_get
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
        - name: integration_name
          in: query
          description: integration name
          required: true
          style: form
          explode: true
          schema:
            title: Integration Name
            description: integration name
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
  /darwin/auth/revert:
    delete:
      tags:
        - Darwin
      summary: Delete Integration Access Credentials
      operationId: Darwin_delete_integration_access_credentials_auth_revert_delete
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
        - name: integration_name
          in: query
          description: integration name
          required: true
          style: form
          explode: true
          schema:
            title: Integration Name
            description: integration name
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Darwin.HTTPValidationError'
  /darwin/auth/outlook/callback:
    post:
      tags:
        - Darwin
      summary: Outlook Callback
      operationId: Darwin_outlook_callback_auth_outlook_callback_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /action-orchestrator/v1/categories:
    get:
      tags:
        - Action Orchestrator
      summary: List All Categories
      description: |-
        Retrieve a list of categories.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch categories.

        Returns:
        - A list of categories matching the criteria.
      operationId: List_all_categories_v1_categories_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List All Categories V1 Categories Get
                items:
                  $ref: '#/components/schemas/Orchestrator.Category'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations:
    get:
      tags:
        - Action Orchestrator
      summary: List All Integrations
      description: |-
        Retrieve a list of integrations.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - A list of integrations matching the criteria.
      operationId: List_all_integrations_v1_integrations_get
      parameters:
        - name: category_id
          in: query
          description: Category Id
          required: false
          style: form
          explode: true
          schema:
            title: Category Id
            description: Category Id
            anyOf:
              - {}
              - {}
        - name: integration_name
          in: query
          description: Integration Name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
            anyOf:
              - {}
              - {}
        - name: integration_id
          in: query
          description: Integration Id
          required: false
          style: form
          explode: true
          schema:
            title: Integration Id
            description: Integration Id
            anyOf:
              - {}
              - {}
        - name: provider
          in: query
          description: 'Accepted values for provider are: darwin, mcp, open_api_spec'
          required: false
          style: form
          explode: true
          schema:
            title: Provider
            description: 'Accepted values for provider are: darwin, mcp, open_api_spec'
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List All Integrations V1 Integrations Get
                items:
                  $ref: '#/components/schemas/Orchestrator.Integration'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Save Integration
      description: |-
        save integration

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: save_integration_v1_integrations_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.IntegrationRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations/{integration_id}:
    delete:
      tags:
        - Action Orchestrator
      summary: Delete Integration
      description: |-
        Delete Integration

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - status:
      operationId: Delete_Integration_v1_integrations__integration_id__delete
      parameters:
        - name: integration_id
          in: path
          description: Integration Id
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Id
            description: Integration Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations/{integration_id}/access_params:
    get:
      tags:
        - Action Orchestrator
      summary: Get Access Params
      description: |-
        get_access_params

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - status:
      operationId: Get_access_params_v1_integrations__integration_id__access_params_get
      parameters:
        - name: integration_id
          in: path
          description: Integration Id
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Id
            description: Integration Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Access Params V1 Integrations  Integration Id 
                  Access Params Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Save Access Params
      description: |-
        save_access_params

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch integrations.

        Returns:
        - status:
      operationId: Save_access_params_v1_integrations__integration_id__access_params_post
      parameters:
        - name: integration_id
          in: path
          description: Integration Id
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Id
            description: Integration Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              title: Request
              additionalProperties: {}
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations/workato/connection_mapper:
    get:
      tags:
        - Action Orchestrator
      summary: Get Workato User Mapper
      description: |-
        Retrieve a workato user_mapper.

        Parameters:
        - tenant_id: Identifier for the tenant.
      operationId: Get_workato_user_mapper_v1_integrations_workato_connection_mapper_get
      parameters:
        - name: integration_id
          in: query
          description: Integration Id
          required: true
          style: form
          explode: true
          schema:
            title: Integration Id
            description: Integration Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Workato User Mapper V1 Integrations Workato
                  Connection Mapper Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Save User Mapper
      description: |-
        save user_mapper
        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: save_user_mapper_v1_integrations_workato_connection_mapper_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.WorkatoUserConnectionMapper'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations/resources:
    post:
      tags:
        - Action Orchestrator
      summary: Get Integration Resources
      description: |-
        Save integration

        Parameters:
        - tenant_id: Identifier for the tenant.
        - request: List of integration strings.
        - user_id: ID of the user making the request.

        Returns:
        - CommonResponse with status.
      operationId: get_integration_resources_v1_integrations_resources_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.IntegrationResourcesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Integration Resources V1 Integrations Resources
                  Post
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions:
    get:
      tags:
        - Action Orchestrator
      summary: List All Actions
      description: |-
        Retrieve a list of actions.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch actions.

        Returns:
        - A list of actions matching the criteria.
      operationId: List_all_actions_v1_actions_get
      parameters:
        - name: integration_id
          in: query
          description: Integration Id
          required: false
          style: form
          explode: true
          schema:
            title: Integration Id
            description: Integration Id
            anyOf:
              - {}
              - {}
        - name: action_name
          in: query
          description: Action Name
          required: false
          style: form
          explode: true
          schema:
            title: Action Name
            description: Action Name
            anyOf:
              - {}
              - {}
        - name: provider
          in: query
          description: 'Accepted values for provider are: darwin, mcp, open_api_spec'
          required: false
          style: form
          explode: true
          schema:
            title: Provider
            description: 'Accepted values for provider are: darwin, mcp, open_api_spec'
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List All Actions V1 Actions Get
                items:
                  $ref: '#/components/schemas/Orchestrator.Action'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Save Action
      description: |-
        save action

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: save_action_v1_actions_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ActionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/integrations/actions:
    get:
      tags:
        - Action Orchestrator
      summary: List All Integrations Actions
      description: |-
        Retrieve a list of integrations grouped with their actions.

        Parameters:
        - tenant_id: Identifier for the tenant.
        - configuration_service: Service to fetch actions.

        Returns:
        - A list of integrations with their action names grouped together.
      operationId: List_all_integrations_actions_v1_integrations_actions_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response List All Integrations Actions V1 Integrations Actions
                  Get
                items:
                  $ref: '#/components/schemas/Orchestrator.IntegrationActions'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/count:
    get:
      tags:
        - Action Orchestrator
      summary: Actions Count
      description: |-
        Retrieve a Actions count.

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - A Actions count matching the criteria.
      operationId: Actions_count_v1_actions_count_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CountResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/registry/connection-test:
    post:
      tags:
        - Action Orchestrator
      summary: Test Mcp Registry Connection
      description: |-
        Test Mcp Registry Connection

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: >-
        Test_Mcp_Registry_Connection_v1_actions_mcp_servers_registry_connection_test_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.McpRegistryConnection'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.McpRegistryConnection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/registry/connection:
    get:
      tags:
        - Action Orchestrator
      summary: Get Mcp Registry Connection
      description: |-
        Get Mcp Registry Connection

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - Mcp Registry Connection Details.
      operationId: >-
        Get_Mcp_Registry_Connection_v1_actions_mcp_servers_registry_connection_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.McpRegistryConnection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Mcp Registry Connection
      description: |-
        Mcp Registry Connection

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: Mcp_Registry_Connection_v1_actions_mcp_servers_registry_connection_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.McpRegistryConnection'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers:
    get:
      tags:
        - Action Orchestrator
      summary: List Mcp Servers
      description: |-
        Get list mcp servers

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - list mcp servers matching the criteria.
      operationId: list_mcp_servers_v1_actions_mcp_servers_get
      parameters:
        - name: registry_provider
          in: query
          description: >-
            Accepted values for registry_provider are: uniphore, smithery,
            custom
          required: false
          style: form
          explode: true
          schema:
            title: Registry Provider
            description: >-
              Accepted values for registry_provider are: uniphore, smithery,
              custom
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List Mcp Servers V1 Actions Mcp Servers Get
                items:
                  $ref: '#/components/schemas/Orchestrator.MPCServerResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/count:
    get:
      tags:
        - Action Orchestrator
      summary: Count Mcp Servers
      description: |-
        mcp servers count

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - count mcp servers
      operationId: count_mcp_servers_v1_actions_mcp_servers_count_get
      parameters:
        - name: connected
          in: query
          description: 'Accepted values for connected are: true/false'
          required: false
          style: form
          explode: true
          schema:
            title: Connected
            description: 'Accepted values for connected are: true/false'
            default: true
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CountResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/search:
    get:
      tags:
        - Action Orchestrator
      summary: List All Mcp Servers
      description: |-
        Retrieve a List all mcp servers.

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - A list of mcp servers matching the criteria.
      operationId: List_all_mcp_servers_v1_actions_mcp_servers_search_get
      parameters:
        - name: search
          in: query
          description: search
          required: false
          style: form
          explode: true
          schema:
            title: Search
            description: search
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response List All Mcp Servers V1 Actions Mcp Servers Search
                  Get
                items:
                  $ref: '#/components/schemas/Orchestrator.MPCServer'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/registry:
    get:
      tags:
        - Action Orchestrator
      summary: Get Mcp Server Registry
      description: |-
        Get mcp server registry

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: Get_mcp_server_registry_v1_actions_mcp_servers_registry_get
      parameters:
        - name: integration_name
          in: query
          description: Integration Name
          required: true
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.ServerRegistryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Registry Mcp Server
      description: |-
        Registry mcp server

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - status.
      operationId: Registry_mcp_server_v1_actions_mcp_servers_registry_post
      parameters:
        - name: registry_provider
          in: query
          description: 'Accepted values for registry_provider are: smithery, custom'
          required: true
          style: form
          explode: true
          schema:
            title: Registry Provider
            description: 'Accepted values for registry_provider are: smithery, custom'
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ServerRegistryRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/connection-test:
    post:
      tags:
        - Action Orchestrator
      summary: Test Mcp Server Connection
      description: |-
        test mcp server connection

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - connection status.
      operationId: Test_mcp_server_connection_v1_actions_mcp_servers_connection_test_post
      parameters:
        - name: registry_provider
          in: query
          description: 'Accepted values for registry_provider are: smithery, custom'
          required: true
          style: form
          explode: true
          schema:
            title: Registry Provider
            description: 'Accepted values for registry_provider are: smithery, custom'
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ServerRegistryRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/mcp/servers/{qualified_name}:
    get:
      tags:
        - Action Orchestrator
      summary: Get Mcp Server Details
      description: |-
        Get mcp server details

        Parameters:
        - tenant_id: Identifier for the tenant.

        Returns:
        - mcp server details matching the criteria.
      operationId: Get_mcp_server_details_v1_actions_mcp_servers__qualified_name__get
      parameters:
        - name: qualified_name
          in: path
          description: Qualified Name
          required: true
          style: simple
          explode: false
          schema:
            title: Qualified Name
            description: Qualified Name
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.MPCServer'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/code_configuration:
    post:
      tags:
        - Action Orchestrator
      summary: Save Code
      description: save code.
      operationId: Save_code_v1_actions_code_configuration_post
      parameters:
        - name: user_id
          in: query
          description: user_id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: Authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.CodeActionRequest-Input'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CodeConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/code_configuration/{integration_name}:
    get:
      tags:
        - Action Orchestrator
      summary: Get Code Configurations
      description: save code.
      operationId: >-
        Get_code_configurations_v1_actions_code_configuration__integration_name__get
      parameters:
        - name: integration_name
          in: path
          description: Integration Name
          required: true
          style: simple
          explode: false
          schema:
            title: Integration Name
            description: Integration Name
        - name: user_id
          in: query
          description: user_id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CodeActionRequest-Output'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/generate-workflow:
    post:
      tags:
        - Action Orchestrator
      summary: Generate Workflow
      operationId: Generate_workflow_v1_generate_workflow_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: Authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.GenerateWorkflowRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Generate Workflow V1 Generate Workflow Post
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/openapi-file-upload:
    post:
      tags:
        - Action Orchestrator
      summary: Upload Openapi Spec File
      description: Openapi file upload.
      operationId: Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
      parameters:
        - name: request_data
          in: query
          description: >-
            Required params along with integration_name,description,access_level
            make it json and converted to base64 encoded string
          required: true
          style: form
          explode: true
          schema:
            title: Request Data
            description: >-
              Required params along with
              integration_name,description,access_level make it json and
              converted to base64 encoded string
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Orchestrator.Body_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.UploadFileResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/workato-integrations:
    get:
      tags:
        - Action Orchestrator
      summary: List All Integrations
      operationId: List_all_integrations_v1_workato_integrations_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response List All Integrations V1 Workato Integrations Get
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/workato-integrations/{integration}:
    get:
      tags:
        - Action Orchestrator
      summary: Get Integration
      operationId: Get_integration_v1_workato_integrations__integration__get
      parameters:
        - name: integration
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Integration
        - name: customer_id
          in: query
          description: Customer Id
          required: true
          style: form
          explode: true
          schema:
            title: Customer Id
            description: Customer Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Integration V1 Workato Integrations  Integration 
                  Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/workato-actions/{action_name}:
    get:
      tags:
        - Action Orchestrator
      summary: Get Workato Action
      operationId: Get_workato_action_v1_workato_actions__action_name__get
      parameters:
        - name: action_name
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Action Name
        - name: customer_id
          in: query
          description: Customer Id
          required: true
          style: form
          explode: true
          schema:
            title: Customer Id
            description: Customer Id
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: >-
                  Response Get Workato Action V1 Workato Actions  Action Name 
                  Get
                additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/functions:
    get:
      tags:
        - Action Orchestrator
      summary: Get Actions As Functions
      operationId: Get_Actions_as_Functions_v1_actions_functions_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: action_name
          in: query
          description: Action Name
          required: false
          style: form
          explode: true
          schema:
            title: Action Name
            description: Action Name
            anyOf:
              - {}
              - {}
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Get Actions As Functions V1 Actions Functions Get
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
    post:
      tags:
        - Action Orchestrator
      summary: Fetch Actions As Functions
      operationId: Fetch_Actions_as_Functions_v1_actions_functions_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ActionsAsFunctionsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                title: Response Fetch Actions As Functions V1 Actions Functions Post
                items:
                  additionalProperties: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/code-snippets:
    post:
      tags:
        - Action Orchestrator
      summary: Action Code Snippet
      description: Action Code Snippet
      operationId: Action_Code_Snippet_v1_actions_code_snippets_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ActionCodeSnippetRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.ActionCodeSnippetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/execute:
    post:
      tags:
        - Action Orchestrator
      summary: Execute Action
      description: Execute Action.
      operationId: Execute_Action_v1_actions_execute_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: timezone
          in: query
          description: Timezone
          required: false
          style: form
          explode: true
          schema:
            title: Timezone
            description: Timezone
            anyOf:
              - {}
              - {}
            default: Asia/Calcutta
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: Authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
        - name: X-Roles
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Roles
            anyOf:
              - items: {}
              - {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            anyOf:
              - items: {}
              - {}
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ActionExecutionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.ActionExecutioResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/file-upload:
    post:
      tags:
        - Action Orchestrator
      summary: Upload The File
      description: file upload.
      operationId: Upload_the_file_v1_actions_file_upload_post
      parameters:
        - name: execution_id
          in: query
          description: execution_id
          required: false
          style: form
          explode: true
          schema:
            title: Execution Id
            description: execution_id
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: user_id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Orchestrator.Body_Upload_the_file_v1_actions_file_upload_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.UploadResourceResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/v1/actions/resource-upload:
    post:
      tags:
        - Action Orchestrator
      summary: Upload The File Resource
      description: file upload.
      operationId: Upload_the_file_resource_v1_actions_resource_upload_post
      parameters:
        - name: execution_id
          in: query
          description: execution_id
          required: false
          style: form
          explode: true
          schema:
            title: Execution Id
            description: execution_id
            anyOf:
              - {}
              - {}
        - name: integration_name
          in: query
          description: Integration Name
          required: false
          style: form
          explode: true
          schema:
            title: Integration Name
            description: Integration Name
            anyOf:
              - {}
              - {}
        - name: user_id
          in: query
          description: user_id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: user_id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Orchestrator.Body_Upload_the_file_resource_v1_actions_resource_upload_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
      security:
        - bearerAuth: []
  /action-orchestrator/auth/callback:
    get:
      tags:
        - Action Orchestrator
      summary: Callback
      operationId: callback_auth_callback_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /action-orchestrator/auth/generate-url:
    post:
      tags:
        - Action Orchestrator
      summary: Get Auth Url Generate
      operationId: get_auth_url_generate_auth_generate_url_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ServerRegistryRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
  /action-orchestrator/auth/manual-callback:
    post:
      tags:
        - Action Orchestrator
      summary: Manual Callback
      operationId: manual_callback_auth_manual_callback_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.CallbackRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
  /action-orchestrator/v1/packages:
    get:
      tags:
        - Action Orchestrator
      summary: List Skill Packages
      description: List all skill packages available for a tenant.
      operationId: List_skill_packages_v1_packages_get
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.PackageListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
    post:
      tags:
        - Action Orchestrator
      summary: Upload Skill Package
      description: >-
        Upload a skill package ZIP file.


        The package will be stored in S3 and package info will be saved to the
        database.

        Returns the package info including a unique ID that can be used to

        download the package later.
      operationId: Upload_skill_package_v1_packages_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Orchestrator.Body_Upload_skill_package_v1_packages_post
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.SkillPackage'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
  /action-orchestrator/v1/packages/{id}/download-url:
    get:
      tags:
        - Action Orchestrator
      summary: Get Package Download Url
      description: |-
        Get a presigned S3 download URL for a package.

        The URL allows downloading the package ZIP file directly from S3.
        URL expires after the specified duration (default: 1 hour).
      operationId: Get_package_download_URL_v1_packages__id__download_url_get
      parameters:
        - name: id
          in: path
          description: Package UUID
          required: true
          style: simple
          explode: false
          schema:
            title: Id
            description: Package UUID
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: expires_in
          in: query
          description: URL expiration in seconds
          required: false
          style: form
          explode: true
          schema:
            title: Expires In
            description: URL expiration in seconds
            default: 3600
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.PackageDownloadUrlResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
  /action-orchestrator/v1/mcp-scanner/scan:
    post:
      tags:
        - Action Orchestrator
      summary: Scan A Mcp Server For Vulnarabilities
      description: Scan mcp server
      operationId: Scan_a_MCP_Server_for_Vulnarabilities_v1_mcp_scanner_scan_post
      parameters:
        - name: registry_provider
          in: query
          description: 'Accepted values for registry_provider are: smithery, custom'
          required: true
          style: form
          explode: true
          schema:
            title: Registry Provider
            description: 'Accepted values for registry_provider are: smithery, custom'
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: scan_tool
          in: query
          description: Tool to scan mcp server
          required: false
          style: form
          explode: true
          schema:
            title: Scan Tool
            description: Tool to scan mcp server
            default: mcp-scan
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Orchestrator.ServerRegistryRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.MCPSecurityScanResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
  /action-orchestrator/v1/mcp-scanner/scan/job:
    post:
      tags:
        - Action Orchestrator
      summary: Scan Existing Mcp Server For Vulnarabilities
      description: Scan all mcp server
      operationId: >-
        Scan_Existing_MCP_Server_for_Vulnarabilities_v1_mcp_scanner_scan_job_post
      parameters:
        - name: user_id
          in: query
          description: User Id
          required: true
          style: form
          explode: true
          schema:
            title: User Id
            description: User Id
        - name: scan_tool
          in: query
          description: Tool to scan mcp server
          required: false
          style: form
          explode: true
          schema:
            title: Scan Tool
            description: Tool to scan mcp server
            default: mcp-scan
        - name: async_mode
          in: query
          description: Run the scan in async mode and do not wait for results
          required: false
          style: form
          explode: true
          schema:
            title: Async Mode
            description: Run the scan in async mode and do not wait for results
            default: true
        - name: tenant_id
          in: query
          required: false
          style: form
          explode: true
          schema:
            title: Tenant Id
            anyOf:
              - {}
              - {}
            default: test
        - name: authorization
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Authorization
            anyOf:
              - {}
              - {}
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Orchestrator.HTTPValidationError'
  /forge-agents/api/v1/agents/by-all-groups:
    get:
      tags:
        - Agents
      summary: List All Agent Groups
      description: 'Admin-only: return all groups and their agent mappings.'
      operationId: List_All_Agent_Groups_api_v1_agents_by_all_groups_get
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/{agent_id}/groups:
    get:
      tags:
        - Agents
      summary: Get Agent Groups
      description: Get all groups assigned to an agent.
      operationId: Get_Agent_Groups_api_v1_agents__agent_id__groups_get
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
            format: uuid
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    post:
      tags:
        - Agents
      summary: Assign Agent Groups
      description: >-
        Assign (and sync) groups to an agent.

        If some existing groups are not included in the request, they are
        removed.

        Admin-only endpoint.
      operationId: Assign_Agent_Groups_api_v1_agents__agent_id__groups_post
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
            format: uuid
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.AssignGroupsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/{agent_id}/access:
    get:
      tags:
        - Agents
      summary: Check Agent Access
      description: Check if the current user has access to the specified agent.
      operationId: Check_Agent_Access_api_v1_agents__agent_id__access_get
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/by-groups:
    get:
      tags:
        - Agents
      summary: List Agents By Groups
      description: Return agents grouped by user groups.
      operationId: List_Agents_by_Groups_api_v1_agents_by_groups_get
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/models:
    get:
      tags:
        - Agents
      summary: List All Agent Models
      description: return all models.
      operationId: List_All_Agent_models_api_v1_models_get
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents:
    get:
      tags:
        - Agents
      summary: Get All Agents
      operationId: Get_All_Agents_api_v1_agents_get
      parameters:
        - name: filter_by_user
          in: query
          description: Enable filtering and user_ids
          required: false
          style: form
          explode: true
          schema:
            title: Filter By User
            description: Enable filtering and user_ids
            default: false
        - name: status
          in: query
          description: Filter by published status
          required: false
          style: form
          explode: true
          schema:
            title: Status
            description: Filter by published status
            anyOf:
              - $ref: '#/components/schemas/Agents.PublishedStatus'
              - {}
        - name: user_ids
          in: query
          description: Filter by one or more user IDs
          required: false
          style: form
          explode: true
          schema:
            title: User Ids
            description: Filter by one or more user IDs
            anyOf:
              - {}
              - {}
        - name: llms
          in: query
          description: Filter by one or more LLM objects
          required: false
          style: form
          explode: true
          schema:
            title: Llms
            description: Filter by one or more LLM objects
            anyOf:
              - items: {}
              - {}
        - name: knowledge_base_ids
          in: query
          description: Filter by Knowledge Base IDs
          required: false
          style: form
          explode: true
          schema:
            title: Knowledge Base Ids
            description: Filter by Knowledge Base IDs
            anyOf:
              - {}
              - {}
        - name: tools
          in: query
          description: Filter by Tools
          required: false
          style: form
          explode: true
          schema:
            title: Tools
            description: Filter by Tools
            anyOf:
              - items: {}
              - {}
        - name: roles
          in: query
          description: Filter by one or more Agent Roles
          required: false
          style: form
          explode: true
          schema:
            title: Roles
            description: Filter by one or more Agent Roles
            anyOf:
              - {}
              - {}
        - name: start_time
          in: query
          description: Filter agents created/updated after this time
          required: false
          style: form
          explode: true
          schema:
            title: Start Time
            description: Filter agents created/updated after this time
            anyOf:
              - format: date-time
              - {}
        - name: end_time
          in: query
          description: Filter agents created/updated before this time
          required: false
          style: form
          explode: true
          schema:
            title: End Time
            description: Filter agents created/updated before this time
            anyOf:
              - format: date-time
              - {}
        - name: timezone
          in: query
          description: Timezone for time filters (e.g., 'Asia/Kolkata', 'UTC')
          required: false
          style: form
          explode: true
          schema:
            title: Timezone
            description: Timezone for time filters (e.g., 'Asia/Kolkata', 'UTC')
            anyOf:
              - {}
              - {}
            default: Asia/Kolkata
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    post:
      tags:
        - Agents
      summary: Create Crewai Agents
      operationId: Create_CrewAI_Agents_api_v1_agents_post
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.AgentConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    delete:
      tags:
        - Agents
      summary: Delete All Agents
      operationId: Delete_All_Agents_api_v1_agents_delete
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/planning-models:
    get:
      tags:
        - Agents
      summary: Get Available Planning Models
      description: >-
        Get list of available planning models for agent task planning.


        Returns a list of supported planning models with metadata including:

        - id: Model identifier used internally and stored in agent configuration

        - display_name: Human-readable name for UI display

        - description: Details about the model's capabilities

        - provider: Model provider (e.g., Fireworks AI, OpenAI)

        - recommended: Whether this model is recommended

        - recommendation_reason: Why this model is recommended (if applicable)


        The 'id' field should be used when creating/updating agents with a
        planning_model.
      operationId: Get_Available_Planning_Models_api_v1_agents_planning_models_get
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/{agent_id}:
    get:
      tags:
        - Agents
      summary: Get Agents
      operationId: Get_Agents_api_v1_agents__agent_id__get
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
            format: uuid
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    put:
      tags:
        - Agents
      summary: Update Agents
      operationId: Update_Agents_api_v1_agents__agent_id__put
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
            format: uuid
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.AgentConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
    delete:
      tags:
        - Agents
      summary: Delete Agents
      description: >-
        Delete an agent by ID.


        Validates that the agent is not currently linked as a sub-agent to any
        supervisor agents

        before deletion. If linked, returns 409 Conflict with details of
        supervisor agents.


        Response on success (200 OK):
            {
                "agent_id": "...",
                "message": "...",  # For debugging/logging only - do NOT display to end users
                "sub_agents": [...]  # Only included if deleting a supervisor with sub-agents
            }

        Response on conflict (409):
            {
                "error_code": 409,
                "error_message": "...",
                "data": {
                    "agent_id": "...",
                    "agent_name": "...",
                    "linked_supervisors": [{"name": "...", "agent_id": "..."}]
                }
            }

        IMPORTANT: The 'message' field in success responses is provided for
        debugging and

        troubleshooting purposes only. Clients SHOULD NOT display these messages
        directly

        to end users. Instead, implement i18n-compliant messaging on the
        frontend based on

        the response data (agent_id, sub_agents, etc.).
      operationId: Delete_Agents_api_v1_agents__agent_id__delete
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
            format: uuid
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/{agent_id}/published-status:
    patch:
      tags:
        - Agents
      summary: Update Agent Published Status
      operationId: >-
        Update_Agent_Published_Status_api_v1_agents__agent_id__published_status_patch
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
            format: uuid
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.PublishedStatusConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/schema:
    post:
      tags:
        - Agents
      summary: Generate Agent Output Schema
      description: >-
        Synchronously generate output_json_schema for agent tasks.


        This endpoint requires an id and optionally accepts an agent_config.

        - If agent_config is provided: uses it directly (does not fetch from DB)

        - If agent_config is not provided: fetches the agent from DB using id


        Returns the agent configuration with output_json_schema fields populated
        for tasks that need them.

        This is a synchronous operation that may take 5-15 seconds per task.


        Request Body Examples:

        ```json

        // Case 1: Fetch agent from DB using id

        {
            "id": "123e4567-e89b-12d3-a456-426614174000"
        }


        // Case 2: Use provided agent_config directly

        {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "agent_config": {
                "name": "Research Agent",
                "role": "Researcher",
                "goal": "Find information",
                "tasks": [...]
            }
        }

        ```


        Schema Generation Details:

        - Uses LLM (gpt-4.1-mini) to analyze agent metadata and generate
        Pydantic models

        - Inputs to LLM: agent name, role, goal, backstory, task name,
        description, expected_output

        - Generates 5-12 field JSON schemas tailored to the agent's purpose

        - Converts Pydantic models to JSON Schema Draft 7 format


        Generation Conditions:

        - Only generates if output_json_schema does NOT already exist

        - Only generates if output_format is "json", "markdown", or None

        - Skips tasks with output_format like "text" or other non-json formats

        - Never overwrites existing schemas


        NOTE: This does NOT save the agent to the database - it only returns the
        enriched config.
      operationId: Generate_Agent_Output_Schema_api_v1_agents_schema_post
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.SchemaGenerationRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/{agent_id}/supervisors:
    get:
      tags:
        - Agents
      summary: Get Agent Supervisors
      description: >-
        Get all supervisor agents that have the specified agent as a sub-agent.


        Returns a list of supervisors with their names and IDs that are
        currently

        using the specified agent as a sub-agent.
      operationId: Get_Agent_Supervisors_api_v1_agents__agent_id__supervisors_get
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
            format: uuid
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/execute:
    post:
      tags:
        - Agents
      summary: Agent Execution
      operationId: Agent_Execution_api_v1_agents_execute_post
      parameters:
        - name: timezone
          in: query
          description: Timezone of user
          required: true
          style: form
          explode: true
          schema:
            title: Timezone
            description: Timezone of user
        - name: execution_id
          in: query
          description: Execution ID
          required: false
          style: form
          explode: true
          schema:
            title: Execution Id
            description: Execution ID
            anyOf:
              - {}
              - {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.ExecutionInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/execute/stream:
    post:
      tags:
        - Agents
      summary: Agent Execution Sse
      description: >-
        Execute agents with Server-Sent Events (SSE) streaming.

        Unidirectional communication: client sends one query, server streams
        response.


        Features:

        - SSE streaming for real-time updates

        - Session management for conversation context

        - Memory support for maintaining context

        - Sequential or parallel tool execution

        - Custom agent inputs
      operationId: Agent_Execution_SSE_api_v1_agents_execute_stream_post
      parameters:
        - name: agent_id
          in: query
          description: Agent ID
          required: true
          style: form
          explode: true
          schema:
            title: Agent Id
            description: Agent ID
        - name: agent_inputs
          in: query
          description: Agent inputs as JSON string
          required: false
          style: form
          explode: true
          schema:
            title: Agent Inputs
            description: Agent inputs as JSON string
            anyOf:
              - {}
              - {}
        - name: message
          in: query
          description: User message
          required: false
          style: form
          explode: true
          schema:
            title: Message
            description: User message
            anyOf:
              - {}
              - {}
        - name: timezone
          in: query
          description: Timezone of user
          required: false
          style: form
          explode: true
          schema:
            title: Timezone
            description: Timezone of user
            anyOf:
              - {}
              - {}
            default: Asia/Kolkata
        - name: execution_id
          in: query
          description: Execution ID
          required: false
          style: form
          explode: true
          schema:
            title: Execution Id
            description: Execution ID
            anyOf:
              - {}
              - {}
        - name: stream
          in: query
          description: Enable streaming
          required: false
          style: form
          explode: true
          schema:
            title: Stream
            description: Enable streaming
            default: false
        - name: sequential_tool_execution
          in: query
          description: Execute tools sequentially
          required: false
          style: form
          explode: true
          schema:
            title: Sequential Tool Execution
            description: Execute tools sequentially
            default: false
        - name: session_id
          in: query
          description: Session ID for conversation context
          required: false
          style: form
          explode: true
          schema:
            title: Session Id
            description: Session ID for conversation context
            anyOf:
              - {}
              - {}
        - name: enable_memory
          in: query
          description: Enable memory
          required: false
          style: form
          explode: true
          schema:
            title: Enable Memory
            description: Enable memory
            default: false
        - name: runtime_knowledge_bases
          in: query
          description: Dynamic Knowledge bases to be executed by agent during runtime
          required: false
          style: form
          explode: true
          schema:
            title: Runtime Knowledge Bases
            description: Dynamic Knowledge bases to be executed by agent during runtime
            anyOf:
              - {}
              - {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/generate:
    post:
      tags:
        - Agents
      summary: Generate Agents
      operationId: Generate_Agents_api_v1_agents_generate_post
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agents.GeneratorConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/{agent_id}/prompt-suggestions:
    get:
      tags:
        - Agents
      summary: Prompt Suggestions
      operationId: prompt_suggestions_api_v1_agents__agent_id__prompt_suggestions_get
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
            format: uuid
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agent-runs:
    get:
      tags:
        - Agents
      summary: Get Agent Runs
      operationId: get_agent_runs_api_v1_agent_runs_get
      parameters:
        - name: run_id
          in: query
          description: Run ID
          required: false
          style: form
          explode: true
          schema:
            title: Run Id
            description: Run ID
        - name: insert_by
          in: query
          description: Inserted By User ID
          required: false
          style: form
          explode: true
          schema:
            title: Insert By
            description: Inserted By User ID
        - name: status
          in: query
          description: Run Status
          required: false
          style: form
          explode: true
          schema:
            title: Status
            description: Run Status
        - name: agent_id
          in: query
          description: Agent ID
          required: false
          style: form
          explode: true
          schema:
            title: Agent Id
            description: Agent ID
        - name: last_n
          in: query
          description: Number of recent runs to fetch
          required: false
          style: form
          explode: true
          schema:
            title: Last N
            description: Number of recent runs to fetch
            default: 10
        - name: start_date_time
          in: query
          description: Start date time in YYYY-MM-DD HH:MM:SS format
          required: false
          style: form
          explode: true
          schema:
            title: Start Date Time
            description: Start date time in YYYY-MM-DD HH:MM:SS format
        - name: end_date_time
          in: query
          description: End date time in YYYY-MM-DD HH:MM:SS format
          required: false
          style: form
          explode: true
          schema:
            title: End Date Time
            description: End date time in YYYY-MM-DD HH:MM:SS format
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/{agent_id}/output-schema:
    get:
      tags:
        - Agents
      summary: Get Agent Output Schema
      operationId: Get_Agent_Output_Schema_api_v1_agents__agent_id__output_schema_get
      parameters:
        - name: agent_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Agent Id
            format: uuid
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/traces/{execution_id}:
    get:
      tags:
        - Agents
      summary: Get Agent Execution Trace
      operationId: Get_Agent_Execution_Trace_api_v1_agents_traces__execution_id__get
      parameters:
        - name: execution_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            title: Execution Id
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v1/agents/sessions/{session_id}:
    delete:
      tags:
        - Agents
      summary: Reset Agent Session
      description: >-
        Reset (delete) an agent conversation session.


        This endpoint deletes all checkpoints, conversation history, and pending
        writes

        associated with a specific session ID. Use this to:

        - Clear conversation history for a user

        - Reset context when starting a new conversation

        - Clean up after testing/debugging

        - Implement "clear chat" functionality


        **Note:** This operation is irreversible. Once deleted, the conversation
        history

        cannot be recovered.


        Args:
            session_id: The session ID (thread_id) to reset. This is the same session_id
                       used in the /agents/execute WebSocket endpoint.

        Returns:
            dict: Deletion summary with message and session_id
      operationId: Reset_Agent_Session_api_v1_agents_sessions__session_id__delete
      parameters:
        - name: session_id
          in: path
          description: Session ID (thread_id) to reset
          required: true
          style: simple
          explode: false
          schema:
            title: Session Id
            description: Session ID (thread_id) to reset
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /forge-agents/api/v2/agent-runs:
    get:
      tags:
        - Agents
      summary: Get Agent Runs (Paginated)
      operationId: Get_Agent_Runs__Paginated__api_v2_agent_runs_get
      parameters:
        - name: run_id
          in: query
          description: Run ID
          required: false
          style: form
          explode: true
          schema:
            title: Run Id
            description: Run ID
        - name: insert_by
          in: query
          description: Inserted By User ID
          required: false
          style: form
          explode: true
          schema:
            title: Insert By
            description: Inserted By User ID
        - name: status
          in: query
          description: Run Status
          required: false
          style: form
          explode: true
          schema:
            title: Status
            description: Run Status
        - name: agent_id
          in: query
          description: Agent ID
          required: false
          style: form
          explode: true
          schema:
            title: Agent Id
            description: Agent ID
        - name: last_n
          in: query
          description: >-
            Number of recent runs to fetch (alternative to limit, sets
            limit=last_n and offset=0)
          required: false
          style: form
          explode: true
          schema:
            title: Last N
            description: >-
              Number of recent runs to fetch (alternative to limit, sets
              limit=last_n and offset=0)
        - name: start_date_time
          in: query
          description: Start date time in YYYY-MM-DD HH:MM:SS format
          required: false
          style: form
          explode: true
          schema:
            title: Start Date Time
            description: Start date time in YYYY-MM-DD HH:MM:SS format
        - name: end_date_time
          in: query
          description: End date time in YYYY-MM-DD HH:MM:SS format
          required: false
          style: form
          explode: true
          schema:
            title: End Date Time
            description: End date time in YYYY-MM-DD HH:MM:SS format
        - name: limit
          in: query
          description: Number of items per page (max 100)
          required: false
          style: form
          explode: true
          schema:
            title: Limit
            maximum: 100
            minimum: 1
            description: Number of items per page (max 100)
            default: 10
        - name: offset
          in: query
          description: Number of items to skip
          required: false
          style: form
          explode: true
          schema:
            title: Offset
            minimum: 0
            description: Number of items to skip
            default: 0
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Tenant-Id
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-User-Id
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: X-Roles
            items: {}
        - name: X-Groups
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: X-Groups
            items: {}
            default: []
        - name: Authorization
          in: header
          required: true
          style: simple
          explode: false
          schema:
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agents.HTTPValidationError'
  /inferencing/openai/v1/chat/completions:
    post:
      tags:
        - Inferencing
      summary: OpenAI-compatible chat completions endpoint
      description: Creates a response for the given chat conversation.
      operationId: chat_completions_openai_v1_chat_completions_post
      parameters:
        - name: setup
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Setup
            anyOf:
              - {}
              - {}
        - name: tenant-name
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Tenant-Name
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Inferencing.ChatCompletionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.ChatCompletionResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '504':
          description: Gateway Timeout
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
  /inferencing/openai/v1/embeddings:
    post:
      tags:
        - Inferencing
      summary: OpenAI-compatible embeddings endpoint
      description: Creates an embedding vector for the input text.
      operationId: create_embeddings_openai_v1_embeddings_post
      parameters:
        - name: setup
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Setup
            anyOf:
              - {}
              - {}
        - name: tenant-name
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Tenant-Name
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Inferencing.EmbeddingRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.EmbeddingResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '504':
          description: Gateway Timeout
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
  /inferencing/openai/v1/models:
    get:
      tags:
        - Inferencing
      summary: OpenAI-compatible models endpoint
      description: Lists available LLMs, VLMs and embedders for inference.
      operationId: list_models_openai_v1_models_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.ListModelsResponse'
  /inferencing/uniphore/v1/ranker:
    post:
      tags:
        - Inferencing
      summary: Ranker endpoint
      description: Order documents based on their relevance to the query.
      operationId: ranker_uniphore_v1_ranker_post
      parameters:
        - name: setup
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Setup
            anyOf:
              - {}
              - {}
        - name: tenant-name
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Tenant-Name
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Inferencing.RankerRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.RankerResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '504':
          description: Gateway Timeout
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
  /inferencing/uniphore/v1/nemoguard-jailbreak-detect:
    post:
      tags:
        - Inferencing
      summary: Nemoguard Jailbreak Detect endpoint
      description: Detect attempts to jailbreak LLMs.
      operationId: nemoguard_jailbreak_detect_uniphore_v1_nemoguard_jailbreak_detect_post
      parameters:
        - name: setup
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Setup
            anyOf:
              - {}
              - {}
        - name: tenant-name
          in: header
          required: false
          style: simple
          explode: false
          schema:
            title: Tenant-Name
            anyOf:
              - {}
              - {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Inferencing.JailbreakDetectRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.JailbreakDetectResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '504':
          description: Gateway Timeout
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
  /inferencing/uniphore/v1/models:
    get:
      tags:
        - Inferencing
      summary: Show available models
      description: List all available models.
      operationId: list_models_uniphore_v1_models_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/setups:
    get:
      tags:
        - Inferencing
      summary: Show available setups
      description: List all setups for a specific model.
      operationId: list_setups_uniphore_v1_setups_get
      parameters:
        - name: model_name
          in: query
          description: Model name to list setups for
          required: true
          style: form
          explode: true
          schema:
            title: Model Name
            description: Model name to list setups for
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreSetupList'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.OpenAIErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.HTTPValidationError'
  /inferencing/uniphore/v1/models/llms:
    get:
      tags:
        - Inferencing
      summary: Show available LLMs
      description: List all available LLMs.
      operationId: list_llms_uniphore_v1_models_llms_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/models/vlms:
    get:
      tags:
        - Inferencing
      summary: Show available VLMs
      description: List all available VLMs.
      operationId: list_vlms_uniphore_v1_models_vlms_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/models/embedders:
    get:
      tags:
        - Inferencing
      summary: Show available embedders
      description: List all available embedders.
      operationId: list_embedders_uniphore_v1_models_embedders_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/models/rankers:
    get:
      tags:
        - Inferencing
      summary: Show available rankers
      description: List all available rankers.
      operationId: list_rankers_uniphore_v1_models_rankers_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /inferencing/uniphore/v1/models/guardrails:
    get:
      tags:
        - Inferencing
      summary: Show available guardrails
      description: List all available guardrails (subtype == 'guardrail').
      operationId: list_guardrails_uniphore_v1_models_guardrails_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Inferencing.UniphoreModelList'
  /platform-config/v1/workflows/{id}:
    get:
      tags:
        - Platform Config
      summary: Gets a workflow with id
      operationId: getWorkflow
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    put:
      tags:
        - Platform Config
      summary: Updates provided workflow
      operationId: updateWorkflow
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: promote
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.WorkflowCreateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    delete:
      tags:
        - Platform Config
      summary: Deletes a workflow with id
      operationId: deleteWorkflow
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/sources/{sourceId}:
    get:
      tags:
        - Platform Config
      summary: Gets source connector for a tenantId by id.
      operationId: getSource
      parameters:
        - name: sourceId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    put:
      tags:
        - Platform Config
      summary: Updates the source connector for the given id.
      operationId: updateSource
      parameters:
        - name: sourceId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.SourceConnectorUpdateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/knowledge_bases/{knowledge_base_id}:
    put:
      tags:
        - Platform Config
      summary: Updates knowledgebase name and description
      operationId: update
      parameters:
        - name: knowledge_base_id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.KnowledgeBaseUpdateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/destinations/{destinationId}:
    get:
      tags:
        - Platform Config
      summary: Gets destination connector for a tenantId by id.
      operationId: getDestination
      parameters:
        - name: destinationId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: false
          style: simple
          explode: false
          schema:
            default: 8b89b65f-d0fd-4e2a-8e9a-acc507e0c118
        - name: X-User-Id
          in: header
          required: false
          style: simple
          explode: false
          schema:
            default: e58503eb-e551-48fe-aa2f-ac652984281d
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    put:
      tags:
        - Platform Config
      summary: Updates the destination connector for the given id.
      operationId: updateDestination
      parameters:
        - name: destinationId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.ConnectorUpdateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/api-key/{id}:
    get:
      tags:
        - Platform Config
      summary: Get API Key by ID
      description: Fetches an API Key by its ID
      operationId: getKeyById
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PlatformConfig.ApiKeyRegistryResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    put:
      tags:
        - Platform Config
      summary: Update API Key
      description: Updates an existing API Key
      operationId: updateKey
      parameters:
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.ApiKeyUpdateRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PlatformConfig.ApiKeyRegistryResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows:
    get:
      tags:
        - Platform Config
      summary: Lists workflows with filters
      operationId: listWorkflows
      parameters:
        - name: workflowId
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: status
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: workflowType
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: sourceId
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: destinationId
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 0
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 10
        - name: name_contains
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: updated_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: updated_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: sort_by
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - NAME
              - CREATED_AT
              - UPDATED_AT
        - name: sort_order
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - ASC
              - DESC
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    post:
      tags:
        - Platform Config
      summary: Creates a workflow
      operationId: createWorkflow
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.WorkflowCreateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows/{id}/run:
    post:
      tags:
        - Platform Config
      summary: Executes provided workflow
      operationId: executeWorkflow
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              properties:
                input_files:
                  items:
                    format: binary
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows/validate:
    post:
      tags:
        - Platform Config
      summary: Validate a workflow
      operationId: validateWorkflow
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.WorkflowValidateReq'
        required: true
      responses:
        '200':
          description: OK
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows/experiment:
    post:
      tags:
        - Platform Config
      summary: Creates an experiment workflow for a document type
      operationId: createWorkflowForDocumentType
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/sources:
    get:
      tags:
        - Platform Config
      summary: Lists all the sources for a tenantId.
      operationId: listSources
      parameters:
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 0
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 10
        - name: name_contains
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: source_type
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: type
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: updated_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: updated_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: sort_by
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - NAME
              - CREATED_AT
              - UPDATED_AT
        - name: sort_order
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - ASC
              - DESC
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    post:
      tags:
        - Platform Config
      summary: Create a new source connector.
      operationId: createSource
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.SourceConnectorCreateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm_to_knowledgebase/{knowledge_base_id}:
    post:
      tags:
        - Platform Config
      summary: SLM pairing with given knowledgebase id.
      operationId: slmPairing
      parameters:
        - name: knowledge_base_id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.SLMPairingReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm:
    get:
      tags:
        - Platform Config
      summary: Get list of SLM
      operationId: list
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    post:
      tags:
        - Platform Config
      summary: Create new SLM
      operationId: create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.CreateSLMRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm/requests:
    post:
      tags:
        - Platform Config
      summary: Request new SLM
      operationId: request
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.NewSLMReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm/questions/{questionId}/feedback:
    post:
      tags:
        - Platform Config
      summary: Submit feedback for a question answer
      operationId: submitFeedback
      parameters:
        - name: questionId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.SLMFeedbackRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm/infer:
    post:
      tags:
        - Platform Config
      summary: Make inference call to SLM
      operationId: infer
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.SLMInferRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/questions:
    get:
      tags:
        - Platform Config
      summary: questions
      operationId: getQuestions
      parameters:
        - name: knowledge_base_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 0
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 10
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    post:
      tags:
        - Platform Config
      summary: Ask a Question
      operationId: askQuestion
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.AskQuestionRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformConfig.AskQuestionResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/questions/{question_id}/chart:
    post:
      tags:
        - Platform Config
      summary: Generate chart
      operationId: generateChart
      parameters:
        - name: question_id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.GenerateChartRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlatformConfig.GenerateChartResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/lora:
    post:
      tags:
        - Platform Config
      summary: Notify on successful lora deployment
      operationId: notifyLoraDeployment
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.LoraAdapterNotification'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/knowledge_bases/{knowledge_base_id}/groups:
    post:
      tags:
        - Platform Config
      summary: Assign knowledgebase to group ids
      operationId: assign
      parameters:
        - name: knowledge_base_id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.KnowledgeBaseGroupsAssignReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/destinations:
    get:
      tags:
        - Platform Config
      summary: Lists all the destinations for a tenantId.
      operationId: listDestinations
      parameters:
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 0
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 10
        - name: type
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: name_contains
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: updated_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: updated_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: sort_by
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - NAME
              - CREATED_AT
              - UPDATED_AT
        - name: sort_order
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - ASC
              - DESC
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    post:
      tags:
        - Platform Config
      summary: Create a new destination connector.
      operationId: createDestination
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.ConnectorCreateReq'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/configuration:
    post:
      tags:
        - Platform Config
      summary: Create configuration
      operationId: create_1
      parameters:
        - name: X-Tenant-Id
          in: header
          required: false
          style: simple
          explode: false
          schema:
            default: 8b89b65f-d0fd-4e2a-8e9a-acc507e0c118
        - name: X-User-Id
          in: header
          required: false
          style: simple
          explode: false
          schema:
            default: e58503eb-e551-48fe-aa2f-ac652984281d
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.ConfigurationRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/api-key:
    get:
      tags:
        - Platform Config
      summary: Get Paged API Keys
      description: Fetches a paged list of API Keys with optional filtering
      operationId: getPagedKeys
      parameters:
        - name: pageable
          in: query
          required: true
          style: form
          explode: true
          schema:
            $ref: '#/components/schemas/PlatformConfig.Pageable'
        - name: keyName
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: type
          in: query
          required: false
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/PlatformConfig.PageResponseApiKeyRegistryResponse
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
    post:
      tags:
        - Platform Config
      summary: Create API Key
      description: Creates a new API Key
      operationId: createKey
      parameters:
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlatformConfig.ApiKeyCreateRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PlatformConfig.ApiKeyRegistryResponse'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows/template:
    get:
      tags:
        - Platform Config
      summary: Gets a template schema for the workflows
      operationId: getTemplate
      parameters:
        - name: workflowTemplate
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/sources/test/{id}:
    get:
      tags:
        - Platform Config
      summary: Test Source connector
      operationId: testSource
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            text/event-stream:
              schema:
                items:
                  $ref: >-
                    #/components/schemas/PlatformConfig.ServerSentEventConnectorStatusRes
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm/{slmId}:
    get:
      tags:
        - Platform Config
      summary: Gets SLM by id.
      operationId: get_1
      parameters:
        - name: slmId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm/{slmId}/questions:
    get:
      tags:
        - Platform Config
      summary: Get list of SLM questions for a specific SLM and tenant
      operationId: listQuestions
      parameters:
        - name: slmId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
        - name: page
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm/catalogue:
    get:
      tags:
        - Platform Config
      summary: Get list of Catalogue SLMs
      operationId: listCatalogue
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/slm/all:
    get:
      tags:
        - Platform Config
      summary: Get list of ALL Supported SLMs
      operationId: listAllModels
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/knowledge_bases:
    get:
      tags:
        - Platform Config
      summary: Get knowledgebases
      operationId: list_2
      parameters:
        - name: offset
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 0
        - name: limit
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: int32
            default: 10
        - name: is_slm_paired
          in: query
          required: false
          style: form
          explode: true
          schema:
            default: ALL
            enum:
              - ALL
              - 'TRUE'
              - 'FALSE'
        - name: name_contains
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: type
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: destination_type
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: updated_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: updated_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_after
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: created_before
          in: query
          required: false
          style: form
          explode: true
          schema:
            format: date-time
        - name: sort_by
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - NAME
              - CREATED_AT
              - UPDATED_AT
        - name: sort_order
          in: query
          required: false
          style: form
          explode: true
          schema:
            enum:
              - ASC
              - DESC
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/knowledge_bases/{id}:
    get:
      tags:
        - Platform Config
      summary: Gets knowledgebase by id.
      operationId: get_2
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/knowledge_bases/stats:
    get:
      tags:
        - Platform Config
      summary: Get knowledgebase statistics
      description: Gets stats of knowledgebases
      operationId: kbStats
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs:
    get:
      tags:
        - Platform Config
      summary: Lists jobs with filters
      operationId: listJobs
      parameters:
        - name: workflowId
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: status
          in: query
          required: false
          style: form
          explode: true
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/{id}:
    get:
      tags:
        - Platform Config
      summary: Get job with id
      operationId: getJob
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: destinationFolder
          in: query
          required: false
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/{id}/failed-files:
    get:
      tags:
        - Platform Config
      summary: Get failure details for files in a job
      operationId: getFailedFiles
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/{id}/details:
    get:
      tags:
        - Platform Config
      summary: Get job processing details
      operationId: getJobDetails
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/{id}/cancel:
    get:
      tags:
        - Platform Config
      summary: Cancels job with id
      operationId: abortJob
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/subscribe/{id}:
    get:
      tags:
        - Platform Config
      summary: Subscribe to job status events
      operationId: subscribe
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: destinationFolder
          in: query
          required: false
          style: form
          explode: true
          schema: {}
      responses:
        '200':
          description: OK
          content:
            text/event-stream:
              schema:
                items:
                  $ref: '#/components/schemas/PlatformConfig.ServerSentEventJobRes'
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/jobs/subscribe/{id}/details:
    get:
      tags:
        - Platform Config
      summary: Subscribe to job processing details events
      operationId: subscribeJobDetails
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            text/event-stream:
              schema:
                items:
                  $ref: >-
                    #/components/schemas/PlatformConfig.ServerSentEventJobDetailsRes
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/embedder/models:
    get:
      tags:
        - Platform Config
      summary: Get embedder models
      operationId: list_3
      parameters:
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/embedder/models/{embedderModelId}:
    get:
      tags:
        - Platform Config
      summary: Gets embedder model by id.
      operationId: get_3
      parameters:
        - name: embedderModelId
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/destinations/test/{id}:
    get:
      tags:
        - Platform Config
      summary: Test destination connector
      operationId: testDestination
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            text/event-stream:
              schema:
                items:
                  $ref: >-
                    #/components/schemas/PlatformConfig.ServerSentEventConnectorStatusRes
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/crawler/crawl_request_body/{workflow_id}:
    get:
      tags:
        - Platform Config
      summary: >-
        Retrieves the crawl request body for the most recent job associated with
        a given workflow_id
      operationId: getCrawlRequestBody
      parameters:
        - name: workflow_id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: tenant_id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/configuration/{type}:
    get:
      tags:
        - Platform Config
      summary: Get configurations
      operationId: list_4
      parameters:
        - name: type
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: knowledge_base_id
          in: query
          required: true
          style: form
          explode: true
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: false
          style: simple
          explode: false
          schema:
            default: 8b89b65f-d0fd-4e2a-8e9a-acc507e0c118
        - name: X-User-Id
          in: header
          required: false
          style: simple
          explode: false
          schema:
            default: e58503eb-e551-48fe-aa2f-ac652984281d
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/workflows/experiment/{id}:
    delete:
      tags:
        - Platform Config
      summary: Cleanup for a template workflow with id
      operationId: deleteTemplate
      parameters:
        - name: id
          in: path
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/sources/{id}:
    delete:
      tags:
        - Platform Config
      summary: Delete source connector by ID
      description: Deletes a source connector
      operationId: deleteSource
      parameters:
        - name: id
          in: path
          description: Source ID
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema: {}
        '204':
          description: Source deleted successfully
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Source not found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/knowledge_bases/{knowledgeBaseId}:
    delete:
      tags:
        - Platform Config
      summary: Delete knowledgebase by ID
      description: Deletes a knowledgebase
      operationId: delete
      parameters:
        - name: knowledgeBaseId
          in: path
          description: KnowledgeBaseId ID
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Roles
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
        - name: X-Groups
          in: header
          required: true
          style: simple
          explode: false
          schema:
            items: {}
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema: {}
        '204':
          description: knowledgebase deleted successfully
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: knowledgebase not found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
  /platform-config/v1/destinations/{id}:
    delete:
      tags:
        - Platform Config
      summary: Delete destination connector by ID
      description: Deletes a destination connector
      operationId: deleteDestination
      parameters:
        - name: id
          in: path
          description: Destination ID
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-Tenant-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
        - name: X-User-Id
          in: header
          required: true
          style: simple
          explode: false
          schema: {}
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema: {}
        '204':
          description: Destination deleted successfully
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '400':
          description: Bad Request
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '404':
          description: Destination not found
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '422':
          description: Unprocessable Entity
          content:
            '*/*':
              schema:
                additionalProperties: {}
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                additionalProperties: {}
components:
  schemas:
    MetaPrompting.PromptUpdateRequest:
      title: PromptUpdateRequest
      required:
        - content
        - description
        - instruction
        - language
        - prompt_length
        - prompt_type_params
      properties:
        description:
          title: Description
        instruction:
          title: Instruction
        content:
          title: Content
        prompt_type_params:
          title: Prompt Type Params
          additionalProperties: {}
        prompt_length:
          title: Prompt Length
        language:
          title: Language
    MetaPrompting.ListPromptHistoryResponse:
      title: ListPromptHistoryResponse
      required:
        - history
        - total_count
      properties:
        history:
          title: History
          items:
            $ref: '#/components/schemas/MetaPrompting.PromptHistoryModel'
        total_count:
          title: Total Count
    MetaPrompting.PromptVersionModel:
      title: PromptVersionModel
      required:
        - content
        - generation_params
        - insert_by
        - prompt_id
        - status
        - tenant_id
        - version_hash
      properties:
        version_id:
          title: Version Id
          anyOf:
            - {}
            - {}
        prompt_id:
          title: Prompt Id
        tenant_id:
          title: Tenant Id
        version_number:
          title: Version Number
          anyOf:
            - {}
            - {}
        content:
          title: Content
        generation_params:
          title: Generation Params
          additionalProperties: {}
        version_hash:
          title: Version Hash
        status:
          title: Status
        insert_by:
          title: Insert By
        insert_time:
          title: Insert Time
          anyOf:
            - format: date-time
            - {}
        source:
          title: Source
          anyOf:
            - {}
            - {}
    MetaPrompting.PromptGenerateRequest:
      title: PromptGenerateRequest
      required:
        - domain
        - instruction
        - language
        - num_of_prompt
        - prompt_length
        - type
      properties:
        instruction:
          title: Instruction
        prompt_length:
          title: Prompt Length
        language:
          title: Language
        domain:
          title: Domain
        num_of_prompt:
          title: Num Of Prompt
        type:
          title: Type
        prompt_type_params:
          title: Prompt Type Params
          anyOf:
            - additionalProperties: {}
            - {}
    MetaPrompting.PromptCreateRequest:
      title: PromptCreateRequest
      required:
        - category
        - content
        - description
        - domain
        - instruction
        - language
        - title
        - type
      properties:
        title:
          title: Title
        description:
          title: Description
        instruction:
          title: Instruction
        content:
          title: Content
        type:
          title: Type
        category:
          title: Category
        domain:
          title: Domain
        prompt_type_params:
          title: Prompt Type Params
          anyOf:
            - additionalProperties: {}
            - {}
          default: {}
        prompt_length:
          title: Prompt Length
          anyOf:
            - {}
            - {}
          default: 250
        language:
          title: Language
        source:
          title: Source
          anyOf:
            - {}
            - {}
    MetaPrompting.PromptValidateRequest:
      title: PromptValidateRequest
      required:
        - title
      properties:
        title:
          title: Title
    MetaPrompting.PromptHistoryActions:
      title: PromptHistoryActions
      enum:
        - UNKNOWN
        - CREATE_PROMPT
        - UPDATE_DESCRIPTION
        - CREATE_VERSION
        - CREATE_VERSION_AND_UPDATE_DESCRIPTION
        - ACTIVATE_VERSION
    MetaPrompting.PromptResponseMetadata:
      title: PromptResponseMetadata
      required:
        - latest_version_number
      properties:
        latest_version_number:
          title: Latest Version Number
    MetaPrompting.PromptTextTryRequest:
      title: PromptTextTryRequest
      required:
        - model
        - prompt
        - text
      properties:
        prompt:
          title: Prompt
        text:
          title: Text
        model:
          title: Model
    MetaPrompting.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/MetaPrompting.ValidationError'
    MetaPrompting.PromptAndVersionModel:
      title: PromptAndVersionModel
      required:
        - category
        - description
        - domain
        - insert_by
        - prompt_id
        - status
        - tenant_id
        - title
        - type
        - version
      properties:
        prompt_id:
          title: Prompt Id
        tenant_id:
          title: Tenant Id
        title:
          title: Title
        description:
          title: Description
        type:
          title: Type
        category:
          title: Category
        domain:
          title: Domain
        status:
          title: Status
        version:
          $ref: '#/components/schemas/MetaPrompting.PromptVersionModel'
        insert_by:
          title: Insert By
        insert_time:
          title: Insert Time
          anyOf:
            - format: date-time
            - {}
        update_by:
          title: Update By
          anyOf:
            - {}
            - {}
        update_time:
          title: Update Time
          anyOf:
            - format: date-time
            - {}
    MetaPrompting.PromptResponse:
      title: PromptResponse
      required:
        - metadata
        - prompt
      properties:
        prompt:
          $ref: '#/components/schemas/MetaPrompting.PromptAndVersionModel'
        metadata:
          $ref: '#/components/schemas/MetaPrompting.PromptResponseMetadata'
    MetaPrompting.Body_describe_image_llama_v1_prompts_image_try_post:
      title: Body_describe_image_llama_v1_prompts_image_try_post
      required:
        - image
        - model
        - prompt
      properties:
        image:
          title: Image
          format: binary
        prompt:
          title: Prompt
        model:
          title: Model
    MetaPrompting.OptimizeRequest:
      title: OptimizeRequest
      required:
        - inference_model
        - instruction
        - judge_model
        - task_name
      properties:
        instruction:
          title: Instruction
        use_judge_model:
          title: Use Judge Model
          default: false
        judge_model:
          title: Judge Model
        inference_model:
          title: Inference Model
        manual_feedback:
          title: Manual Feedback
          anyOf:
            - {}
            - {}
        input_examples:
          title: Input Examples
          anyOf:
            - items: {}
            - {}
        ground_truth_outputs:
          title: Ground Truth Outputs
          anyOf:
            - items: {}
            - {}
        input_schema:
          title: Input Schema
          anyOf:
            - additionalProperties: {}
            - {}
        output_schema:
          title: Output Schema
          anyOf:
            - additionalProperties: {}
            - {}
        task_name:
          title: Task Name
        task_description:
          title: Task Description
          anyOf:
            - {}
            - {}
        num_iterations:
          title: Num Iterations
          anyOf:
            - {}
            - {}
          default: 3
        max_tokens:
          title: Max Tokens
          anyOf:
            - {}
            - {}
          default: 2000
    MetaPrompting.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    MetaPrompting.PromptHistoryModel:
      title: PromptHistoryModel
      required:
        - action
        - action_details
        - insert_by
        - prompt_id
        - prompt_title
        - prompt_version_id
        - tenant_id
      properties:
        prompt_history_id:
          title: Prompt History Id
          anyOf:
            - {}
            - {}
        tenant_id:
          title: Tenant Id
        prompt_id:
          title: Prompt Id
        prompt_title:
          title: Prompt Title
        prompt_version_id:
          title: Prompt Version Id
        action:
          $ref: '#/components/schemas/MetaPrompting.PromptHistoryActions'
        action_details:
          title: Action Details
          additionalProperties: {}
        insert_by:
          title: Insert By
        insert_time:
          title: Insert Time
          anyOf:
            - format: date-time
            - {}
    UserManagement.GroupUserDetail:
      properties:
        userId:
          format: uuid
        userName: {}
        emailId: {}
    UserManagement.RoleResponseDto:
      properties:
        id:
          format: uuid
        roleName: {}
        source: {}
        version:
          format: float
        insertedBy:
          format: uuid
        updatedBy:
          format: uuid
        insertTime:
          format: date-time
        updateTime:
          format: date-time
        tenantId:
          format: uuid
        externalId: {}
    UserManagement.Criterion:
      properties:
        name: {}
        operator: {}
        value: {}
        valueType: {}
    UserManagement.AdvSearchRequest:
      properties:
        searchString: {}
        entity: {}
        durationFlag: {}
        criteria:
          items:
            $ref: '#/components/schemas/UserManagement.Criterion'
        sort:
          $ref: '#/components/schemas/UserManagement.SortObject'
        pagination:
          $ref: '#/components/schemas/UserManagement.Pagination'
    UserManagement.Pagination:
      properties:
        page:
          format: int32
        size:
          format: int32
    UserManagement.SortObject:
      properties:
        empty: {}
        sorted: {}
        unsorted: {}
    UserManagement.GroupResponse:
      properties:
        id:
          format: uuid
        groupName: {}
        description: {}
        source: {}
        version:
          format: double
        insertBy:
          format: uuid
        updateBy:
          format: uuid
        tenantId:
          format: uuid
        externalId: {}
        insertTime:
          format: date-time
        updateTime:
          format: date-time
        users:
          items:
            $ref: '#/components/schemas/UserManagement.GroupUserDetail'
        status: {}
        defaultGroup: {}
    UserManagement.IdNameDTO:
      properties:
        id:
          format: uuid
        name: {}
        domain: {}
        url: {}
        logoUrl: {}
        status: {}
    UserManagement.UserResponse:
      properties:
        id:
          format: uuid
        email: {}
        source: {}
        version:
          format: float
        tenantId:
          format: uuid
        userName: {}
        firstName: {}
        lastName: {}
        fullName: {}
        firstTimeLogin: {}
        expired: {}
        status: {}
        role:
          items:
            $ref: '#/components/schemas/UserManagement.IdNameDTO'
        groups:
          items:
            $ref: '#/components/schemas/UserManagement.IdNameDTO'
        externalIdToken:
          items:
            additionalProperties: {}
    UserManagement.UserRequest:
      properties:
        id:
          format: uuid
        userId:
          format: uuid
        email: {}
        source:
          maxLength: 50
          minLength: 0
        version:
          format: float
        tenantId:
          format: uuid
        userName:
          maxLength: 100
          minLength: 0
        firstName:
          maxLength: 50
          minLength: 1
          pattern: ^[A-Za-z][A-Za-z \s'.-]*$
        lastName:
          maxLength: 50
          minLength: 1
          pattern: ^[A-Za-z][A-Za-z \s'.-]*$
        fullName:
          maxLength: 100
          minLength: 3
          pattern: ^[A-Za-z]([A-Za-z \s'.-]*\s+[A-Za-z \s'.-]*)+$
        firstTimeLogin: {}
        expired: {}
        status:
          maxLength: 50
          minLength: 0
        role:
          items:
            format: uuid
        groupIds:
          items:
            format: uuid
        externalIdToken:
          additionalProperties: {}
    Darwin.ActionDetails:
      title: ActionDetails
      properties:
        endpoint:
          title: Endpoint
          anyOf:
            - {}
            - {}
        method:
          title: Method
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        parameters:
          title: Parameters
          anyOf:
            - items:
                $ref: '#/components/schemas/Darwin.Parameter'
            - {}
        content_type:
          title: Content Type
          anyOf:
            - {}
            - {}
          default: application/json
        input_json_properties:
          title: Input Json Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Darwin.JsonProperties'
            - {}
        output_json_responses:
          title: Output Json Responses
          anyOf:
            - items:
                $ref: '#/components/schemas/Darwin.JsonResponses'
            - {}
    Darwin.Action:
      title: Action
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        is_active:
          title: Is Active
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
        created_timestamp:
          title: Created Timestamp
          anyOf:
            - {}
            - {}
    Darwin.ActionsAsFunctionsRequest:
      title: ActionsAsFunctionsRequest
      required:
        - integrations
      properties:
        integrations:
          title: Integrations
          additionalProperties:
            items: {}
    Darwin.Error:
      title: Error
      required:
        - code
        - type
        - value
      properties:
        code:
          title: Code
        type:
          title: Type
        value:
          title: Value
          anyOf:
            - {}
            - additionalProperties: {}
            - {}
    Darwin.ActionRequest:
      title: ActionRequest
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
    Darwin.CommonResponse:
      title: CommonResponse
      properties:
        status:
          title: Status
          anyOf:
            - {}
            - {}
        id:
          title: id
          anyOf:
            - {}
            - {}
    Darwin.ActionExecuteRequest:
      title: ActionExecuteRequest
      properties:
        execution_id:
          title: ExecutionId
          anyOf:
            - {}
            - {}
        context_id:
          title: ContextId
          anyOf:
            - {}
            - {}
        action_name:
          title: Action Name
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        message:
          title: Message
          anyOf:
            - {}
            - {}
        disable_llm_parse:
          title: Disable llm Parse
          anyOf:
            - {}
            - {}
          default: false
    Darwin.ExecuteActionRequest:
      title: ExecuteActionRequest
      required:
        - action_id
        - action_name
        - action_params
        - integration_name
        - message
        - user_id
      properties:
        action_id:
          title: Action Id
        action_name:
          title: Action Name
        integration_name:
          title: Integration Name
        user_id:
          title: User Id
        action_params:
          title: Action Params
          additionalProperties: {}
        message:
          title: Message
        encode_credentials:
          title: Encode Credentials
          anyOf:
            - {}
            - {}
        tenant_id:
          title: Tenant Id
          anyOf:
            - {}
            - {}
        timezone:
          title: Timezone
          anyOf:
            - {}
            - {}
        execution_id:
          title: Execution Id
          anyOf:
            - {}
            - {}
        roles:
          title: Roles
          anyOf:
            - items: {}
            - {}
        groups:
          title: Groups
          anyOf:
            - items: {}
            - {}
        authorization:
          title: Authorization
          anyOf:
            - {}
            - {}
    Darwin.JsonProperties:
      title: JsonProperties
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        type:
          title: Type
          anyOf:
            - {}
            - {}
        required:
          title: Required
          anyOf:
            - {}
            - {}
    Darwin.WorkatoUserConnectionMapper:
      title: WorkatoUserConnectionMapper
      properties:
        connection_id:
          title: Connection Id
        integration_name:
          title: Integration Name
    Darwin.Parameter:
      title: Parameter
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        param_type:
          title: ParamType
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        default_value:
          title: DefaultValue
          anyOf:
            - {}
            - {}
        enum:
          title: Enum
          anyOf:
            - items: {}
            - {}
        type:
          title: Type
          anyOf:
            - {}
            - {}
        required:
          title: Required
          anyOf:
            - {}
            - {}
        items:
          title: Items
          description: >-
            For array type parameters, this field contains the schema of the
            items in the array. It is optional and can be used to provide
            additional details about the items in the array parameter.
          anyOf:
            - additionalProperties: {}
            - {}
    Darwin.Body_Darwin_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post:
      title: Body_Darwin_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
      required:
        - file
      properties:
        file:
          title: File
          description: A openApi file as UploadFile
          format: binary
    Darwin.ResponseValue:
      title: ResponseValue
      properties:
        string_response:
          title: String Response
          anyOf:
            - {}
            - {}
        int_response:
          title: Int Response
          anyOf:
            - {}
            - {}
        float_response:
          title: Float Response
          anyOf:
            - {}
            - {}
        bool_response:
          title: Bool Response
          anyOf:
            - {}
            - {}
        object_response:
          title: Object Response
          anyOf:
            - additionalProperties: {}
            - {}
        list_response:
          title: List Response
          anyOf:
            - items: {}
            - {}
        response_type:
          title: Response Type
          anyOf:
            - {}
            - {}
    Darwin.ActionExecutioResponse:
      title: ActionExecutioResponse
      required:
        - action
        - status
      properties:
        action:
          title: Action
        status:
          title: Status
        response:
          anyOf:
            - $ref: '#/components/schemas/Darwin.ResponseValue'
            - {}
    Darwin.JsonResponses:
      title: JsonResponses
      properties:
        status_code:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        properties:
          title: Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Darwin.JsonProperties'
            - {}
    Darwin.ExecuteActionResponse:
      title: ExecuteActionResponse
      required:
        - action_name
        - integration_name
      properties:
        integration_name:
          title: Integration Name
        action_name:
          title: Action Name
        data:
          anyOf:
            - $ref: '#/components/schemas/Darwin.Data'
            - {}
        error:
          anyOf:
            - $ref: '#/components/schemas/Darwin.Error'
            - {}
    Darwin.ActionParametersRequest:
      title: ActionParametersRequest
      properties:
        action_name:
          title: Action Name
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
    Darwin.Data:
      title: Data
      required:
        - type
        - value
      properties:
        type:
          title: Type
        value:
          title: Value
          anyOf:
            - {}
            - additionalProperties: {}
            - items: {}
            - {}
    Darwin.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    Darwin.Integration:
      title: Integration
      properties:
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        action_count:
          title: Action Count
          anyOf:
            - {}
            - {}
    Darwin.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/Darwin.ValidationError'
    Orchestrator.CountResponse:
      title: CountResponse
      required:
        - count
      properties:
        count:
          title: Count
    Orchestrator.IntegrationRequest:
      title: IntegrationRequest
      properties:
        name:
          title: Name
        description:
          title: Description
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
        access_level:
          title: access_level (tenant, user)
        authentication_required:
          title: authentication_required
          default: false
    Orchestrator.IntegrationActions:
      title: IntegrationActions
      required:
        - actions
        - integration_name
      properties:
        integration_name:
          title: Integration Name
        actions:
          title: Action Names
          items:
            $ref: '#/components/schemas/Orchestrator.IdName'
    Orchestrator.Body_Upload_the_file_v1_actions_file_upload_post:
      title: Body_Upload_the_file_v1_actions_file_upload_post
      required:
        - file
      properties:
        file:
          title: File
          description: Upload the File
          format: binary
    Orchestrator.IdName:
      title: IdName
      required:
        - id
        - name
      properties:
        id:
          title: Id
        name:
          title: Name
    Orchestrator.CallbackRequest:
      title: CallbackRequest
      required:
        - code
        - integration_name
        - operation_type
      properties:
        integration_name:
          title: Integration Name
        code:
          title: Authorization code from MCP
        operation_type:
          title: Operation type (connection-test, save)
    Orchestrator.Severity:
      title: Severity
      enum:
        - Critical
        - High
        - Medium
        - Low
    Orchestrator.ActionResponse:
      title: ActionResponse
      required:
        - description
        - properties
        - status_code
      properties:
        status_code:
          title: Status Code
        description:
          title: Description
        properties:
          title: Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.ActionParameter'
            - {}
    Orchestrator.ScanResult:
      title: ScanResult
      properties:
        scanned_at:
          title: Scanned At
          anyOf:
            - format: date-time
            - {}
        issues:
          title: Issues
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.Issue'
            - {}
          default: []
        metadata:
          title: Metadata
          anyOf:
            - additionalProperties: {}
            - {}
    Orchestrator.WorkatoUserConnectionMapper:
      title: WorkatoUserConnectionMapper
      properties:
        connection_id:
          title: Connection Id
          anyOf:
            - {}
            - {}
        integration_id:
          title: Integration Id
          anyOf:
            - {}
            - {}
        customer_id:
          title: Customer Id
          anyOf:
            - {}
            - {}
    Orchestrator.ComponentType:
      title: ComponentType
      enum:
        - tool
        - prompt
        - resource
        - resource_template
    Orchestrator.CodeConfig:
      title: CodeConfig
      required:
        - action_name
        - code
        - language_type
      properties:
        action_name:
          title: Action Name
        language_type:
          title: code language type
        description:
          title: Description
        code:
          title: Code
          description: Code to save
        caller_function:
          title: Caller Function
          description: The function to be called in the code
          anyOf:
            - {}
            - {}
        input_variables:
          title: Input Variables
          description: The variables to be passed as input
          items:
            $ref: '#/components/schemas/Orchestrator.InputVariable'
          default: []
        output_variable:
          title: Output Variable
          description: The variable to be returned as output
          anyOf:
            - {}
            - {}
        libs:
          title: Libs
          description: list of libraries to be installed
          anyOf:
            - items: {}
            - {}
          default: []
        workflow:
          title: Workflow
          description: Workflow configuration dictionary
          anyOf:
            - additionalProperties: {}
            - {}
          default: {}
    Orchestrator.CodeActionRequest-Input:
      title: CodeActionRequest
      required:
        - codes
        - integration_name
        - provider
      properties:
        integration_id:
          title: Integration id
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
        description:
          title: Description
        provider:
          title: Provider
        codes:
          title: Codes
          description: list of Code objects
          items:
            $ref: '#/components/schemas/Orchestrator.CodeConfig'
    Orchestrator.SkillPackage:
      title: SkillPackage
      required:
        - name
        - package_storage_url
        - tenant_id
      properties:
        id:
          title: Package ID
          anyOf:
            - {}
            - {}
        tenant_id:
          title: Tenant ID
        name:
          title: Package Name
        description:
          title: Description
          anyOf:
            - {}
            - {}
        package_storage_url:
          title: Cloud Storage URL
        insert_time:
          title: Created Timestamp
          anyOf:
            - {}
            - {}
        update_time:
          title: Updated Timestamp
          anyOf:
            - {}
            - {}
      description: Skill package model
    Orchestrator.McpRegistryConnection:
      title: McpRegistryConnection
      properties:
        registry_url:
          title: Registry Url
          anyOf:
            - {}
            - {}
        api_key:
          title: Api Key
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
    Orchestrator.ServerRegistryRequest:
      title: ServerRegistryRequest
      properties:
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        access_level:
          title: access_level (tenant, user)
          anyOf:
            - {}
            - {}
        qualified_name:
          title: Qualified Name
          anyOf:
            - {}
            - {}
        properties:
          title: Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.JsonPropertyRequest'
            - {}
        json_content:
          title: Json
          anyOf:
            - {}
            - {}
    Orchestrator.UploadResourceResponse:
      title: UploadResourceResponse
      properties:
        status:
          title: Status
          anyOf:
            - {}
            - {}
        download_link:
          title: Download Link
          anyOf:
            - {}
            - {}
    Orchestrator.IntegrationResourcesRequest:
      title: IntegrationResourcesRequest
      properties:
        integrations:
          title: integrations Name
          items: {}
    Orchestrator.ActionExecutioResponse:
      title: ActionExecutioResponse
      required:
        - action
        - status
      properties:
        action:
          title: Action
        status:
          title: Status
        response:
          anyOf:
            - $ref: '#/components/schemas/Orchestrator.ResponseValue'
            - {}
    Orchestrator.ActionRequest:
      title: ActionRequest
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        integration_id:
          title: Integration Id
          anyOf:
            - {}
            - {}
    Orchestrator.JsonProperties:
      title: JsonProperties
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        type:
          title: Type
          anyOf:
            - {}
            - {}
        required:
          title: Required
          anyOf:
            - {}
            - {}
        value:
          title: Description
          anyOf:
            - {}
            - {}
    Orchestrator.Category:
      title: Category
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        is_active:
          title: Is Active
          anyOf:
            - {}
            - {}
        created_timestamp:
          title: Created Timestamp
          anyOf:
            - {}
            - {}
        integration_count:
          title: Integration Count
          anyOf:
            - {}
            - {}
    Orchestrator.CommonResponse:
      title: CommonResponse
      properties:
        status:
          title: Status
          anyOf:
            - {}
            - {}
        id:
          title: Id
          anyOf:
            - {}
            - {}
        message:
          title: Message
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
    Orchestrator.ServerRegistryResponse:
      title: ServerRegistryResponse
      properties:
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        qualified_name:
          title: Qualified Name
          anyOf:
            - {}
            - {}
        properties:
          title: Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.JsonProperties'
            - {}
        json_content:
          title: Json
          anyOf:
            - {}
            - {}
    Orchestrator.Body_Upload_the_file_resource_v1_actions_resource_upload_post:
      title: Body_Upload_the_file_resource_v1_actions_resource_upload_post
      required:
        - file
      properties:
        file:
          title: File
          description: Upload the File
          format: binary
    Orchestrator.ActionCodeSnippetResponse:
      title: ActionCodeSnippetResponse
      properties:
        code_snippets:
          title: Code Snippets
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.ActionCodeSnippet'
            - {}
        parameters:
          title: Parameters
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.ActionParameter'
            - {}
        responses:
          title: Responses
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.ActionResponse'
            - {}
    Orchestrator.ActionCodeSnippet:
      title: ActionCodeSnippet
      required:
        - code_snippet
        - language_type
      properties:
        code_snippet:
          title: Code Snippet
        language_type:
          title: Language Type
    Orchestrator.PackageListResponse:
      title: PackageListResponse
      required:
        - packages
      properties:
        packages:
          title: Packages
          items:
            $ref: '#/components/schemas/Orchestrator.SkillPackage'
      description: Response for package list
    Orchestrator.InputVariable:
      title: InputVariable
      required:
        - name
      properties:
        name:
          title: Name
        description:
          title: Description
          anyOf:
            - {}
            - {}
    Orchestrator.JsonPropertyRequest:
      title: JsonPropertyRequest
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        value:
          title: Description
          anyOf:
            - {}
            - {}
    Orchestrator.ActionParameter:
      title: ActionParameter
      required:
        - description
        - name
      properties:
        name:
          title: Name
        type:
          title: Type
          anyOf:
            - {}
            - {}
          default: unknown
        description:
          title: Description
    Orchestrator.ActionCodeSnippetRequest:
      title: ActionCodeSnippetRequest
      properties:
        action_name:
          title: Action Name
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration name
          anyOf:
            - {}
            - {}
    Orchestrator.GenerateWorkflowRequest:
      title: GenerateWorkflowRequest
      required:
        - integrations
        - user_prompt
      properties:
        user_prompt:
          title: User Prompt
        integrations:
          title: Integrations
          additionalProperties:
            items: {}
    Orchestrator.MCPSecurityScanResult:
      title: MCPSecurityScanResult
      required:
        - scan_result
      properties:
        mcp_server_id:
          title: Mcp Server Id
          anyOf:
            - {}
            - {}
        mcp_server_name:
          title: Mcp Server Name
          anyOf:
            - {}
            - {}
        scan_status:
          anyOf:
            - $ref: '#/components/schemas/Orchestrator.ScanStatus'
            - {}
          default: SCAN_SUCCESS
        scan_result:
          $ref: '#/components/schemas/Orchestrator.ScanResult'
        severity_to_issue_count:
          title: Severity To Issue Count
          anyOf:
            - additionalProperties: {}
            - {}
    Orchestrator.UploadFileResponse:
      title: UploadFileResponse
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
    Orchestrator.Issue:
      title: Issue
      required:
        - description
        - severity
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        title:
          title: Title
          anyOf:
            - {}
            - {}
        description:
          title: Description
        severity:
          $ref: '#/components/schemas/Orchestrator.Severity'
        affected_components:
          title: Affected Components
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.AffectedComponent'
            - {}
          default: []
        finding_time:
          title: Finding Time
          anyOf:
            - format: date-time
            - {}
        raw:
          title: Raw
          anyOf:
            - additionalProperties: {}
            - {}
    Orchestrator.ResponseValue:
      title: ResponseValue
      properties:
        string_response:
          title: String Response
          anyOf:
            - {}
            - {}
        int_response:
          title: Int Response
          anyOf:
            - {}
            - {}
        float_response:
          title: Float Response
          anyOf:
            - {}
            - {}
        bool_response:
          title: Bool Response
          anyOf:
            - {}
            - {}
        object_response:
          title: Object Response
          anyOf:
            - additionalProperties: {}
            - {}
        list_response:
          title: List Response
          anyOf:
            - items: {}
            - {}
        response_type:
          title: Response Type
          anyOf:
            - {}
            - {}
    Orchestrator.ActionsAsFunctionsRequest:
      title: ActionsAsFunctionsRequest
      required:
        - integrations
      properties:
        integrations:
          title: Integrations
          additionalProperties:
            items: {}
    Orchestrator.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/Orchestrator.ValidationError'
    Orchestrator.MPCServerResponse:
      title: MPCServerResponse
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
    Orchestrator.AffectedComponent:
      title: AffectedComponent
      required:
        - component_type
        - name
      properties:
        name:
          title: Name
        metadata:
          title: Metadata
          anyOf:
            - additionalProperties: {}
            - {}
        component_type:
          $ref: '#/components/schemas/Orchestrator.ComponentType'
    Orchestrator.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    Orchestrator.ActionExecutionRequest:
      title: ActionExecutionRequest
      properties:
        execution_id:
          title: ExecutionId
          anyOf:
            - {}
            - {}
        context_id:
          title: ContextId
          anyOf:
            - {}
            - {}
        action_name:
          title: Action Name
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration name
          anyOf:
            - {}
            - {}
        message:
          title: Message
          anyOf:
            - {}
            - {}
        disable_llm_parse:
          title: Disable llm Parse
          anyOf:
            - {}
            - {}
          default: false
    Orchestrator.CodeConfigResponse:
      title: CodeConfigResponse
      properties:
        status:
          title: Status
          anyOf:
            - {}
            - {}
        id:
          title: Id
          anyOf:
            - {}
            - {}
        testcases_failed:
          title: Testcases Failed
          items: {}
          default: []
    Orchestrator.Action:
      title: Action
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
        registry_provider:
          title: Registry Provider
          anyOf:
            - {}
            - {}
        created_timestamp:
          title: Created Timestamp
          anyOf:
            - {}
            - {}
    Orchestrator.CodeActionRequest-Output:
      title: CodeActionRequest
      required:
        - codes
        - integration_name
        - provider
      properties:
        integration_id:
          title: Integration id
          anyOf:
            - {}
            - {}
        integration_name:
          title: Integration Name
        description:
          title: Description
        provider:
          title: Provider
        codes:
          title: Codes
          description: list of Code objects
          items:
            $ref: '#/components/schemas/Orchestrator.CodeConfig'
    Orchestrator.Body_Upload_skill_package_v1_packages_post:
      title: Body_Upload_skill_package_v1_packages_post
      required:
        - file
        - name
      properties:
        name:
          title: Name
          description: Package name
        description:
          title: Description
          description: Package description
        file:
          title: File
          description: Package ZIP file
          format: binary
    Orchestrator.PackageDownloadUrlResponse:
      title: PackageDownloadUrlResponse
      required:
        - url
      properties:
        url:
          title: Signed Download URL
        expires_in:
          title: URL expiration in seconds
          default: 3600
      description: Response with signed download URL
    Orchestrator.MPCServer:
      title: MPCServer
      properties:
        name:
          title: Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
          anyOf:
            - {}
            - {}
        qualified_name:
          title: Qualified Name
          anyOf:
            - {}
            - {}
        properties:
          title: Properties
          anyOf:
            - items:
                $ref: '#/components/schemas/Orchestrator.JsonProperties'
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
    Orchestrator.Integration:
      title: Integration
      properties:
        id:
          title: Id
          anyOf:
            - {}
            - {}
        name:
          title: Name
          anyOf:
            - {}
            - {}
        workato_name:
          title: Workato Name
          anyOf:
            - {}
            - {}
        description:
          title: Description
          anyOf:
            - {}
            - {}
        is_active:
          title: Is Active
          anyOf:
            - {}
            - {}
        provider:
          title: Provider
          anyOf:
            - {}
            - {}
        service_provider:
          title: service provider
          anyOf:
            - {}
            - {}
        created_timestamp:
          title: Created Timestamp
          anyOf:
            - {}
            - {}
        category_name:
          title: Category Name
          anyOf:
            - {}
            - {}
        action_count:
          title: Action Count
          anyOf:
            - {}
            - {}
        access_level:
          title: access_level (tenant, user)
          anyOf:
            - {}
            - {}
        resource_required:
          title: Resource Required
          anyOf:
            - {}
            - {}
        resource_type:
          title: Resource Type
          anyOf:
            - items: {}
            - {}
        upload_resource:
          title: Upload Resource
          anyOf:
            - {}
            - {}
        authentication_required:
          title: Authentication Required
          anyOf:
            - {}
            - {}
        connected:
          title: Connected
          anyOf:
            - {}
            - {}
          default: true
        connection_error:
          title: Connection Error
          anyOf:
            - {}
            - {}
    Orchestrator.ScanStatus:
      title: ScanStatus
      enum:
        - SCAN_SUCCESS
        - MCP_CONNECTION_FAILURE
        - SCAN_FAILURE
    Orchestrator.Body_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post:
      title: Body_Upload_Openapi_Spec_file_v1_actions_openapi_file_upload_post
      required:
        - file
      properties:
        file:
          title: File
          description: A openApi file as UploadFile
          format: binary
    Agents.KnowledgeBase:
      title: KnowledgeBase
      required:
        - id
        - name
      properties:
        id:
          title: ID
          description: Unique identifier for the knowledge base.
        name:
          title: Name
          description: Name of the knowledge base.
        description:
          title: Description
          description: Description of what the tool does.
          anyOf:
            - {}
            - {}
        result_as_answer:
          title: Result As Answer
          description: >-
            If true, the tool's output should be treated as the agent's final
            answer.
          default: false
    Agents.ExecutionInput:
      title: ExecutionInput
      required:
        - id
        - message
      properties:
        id:
          title: Id
        name:
          title: Name
          anyOf:
            - {}
            - {}
        message:
          title: Message
        inputs:
          title: Inputs
          anyOf:
            - additionalProperties: {}
            - {}
          default: {}
        mode:
          $ref: '#/components/schemas/Agents.RunMode'
        framework:
          title: Framework
          description: >-
            The agent framework to use, currently 'langgraph' or 'crewai' is
            supported.
          default: crewai
          enum:
            - langgraph
            - crewai
        session_id:
          title: Session Id
          description: Optional session ID for grouping related executions.
          anyOf:
            - {}
            - {}
        sequential_tool_execution:
          title: Sequential Tool Execution
          description: If true, tools will be executed sequentially.
          anyOf:
            - {}
            - {}
          default: false
        enable_memory:
          title: Enable Memory
          description: Flag to enable or disable memory for the execution.
          default: false
        runtime_knowledge_bases:
          title: Runtime Knowledge Bases
          description: Dynamic knowledge bases to add on runtime for each agent
          anyOf:
            - additionalProperties:
                $ref: '#/components/schemas/Agents.RuntimeKnowledgeInjectionRequest'
            - {}
    Agents.AgentType:
      title: AgentType
      enum:
        - SUPERVISOR
        - INDIVIDUAL
    Agents.PublishedStatus:
      title: PublishedStatus
      enum:
        - published
        - unpublished
    Agents.PublishedStatusConfig:
      title: PublishedStatusConfig
      properties:
        published_status:
          $ref: '#/components/schemas/Agents.PublishedStatus'
    Agents.TaskDefinition:
      title: TaskDefinition
      required:
        - agent
        - description
        - name
      properties:
        name:
          title: Name
          description: Unique identifier for the task.
        description:
          title: Description
          description: Instructions or objectives for the task.
        agent:
          title: Agent
          description: Name of the agent responsible for executing the task.
        expected_output:
          title: Expected Output
          description: Description of the desired output format or structure.
          anyOf:
            - {}
            - {}
        async_execution:
          title: Async Execution
          description: If true, the task can be executed asynchronously.
          default: false
        tools:
          title: Tools
          description: List of tools specific to this task.
          anyOf:
            - $ref: '#/components/schemas/Agents.ToolConfig'
            - {}
        context:
          title: Context
          description: >-
            List of prior task names whose outputs are needed as context for
            this task.
          items: {}
        human_input:
          title: Human Input
          description: If true, the task expects manual human input or approval.
          default: false
        markdown:
          title: Markdown
          description: If true, the task output should be formatted in Markdown.
          default: false
        output_format:
          title: Output Format
          description: 'Format of the task output: ''markdown'' or ''json''.'
          anyOf:
            - enum:
                - markdown
                - json
            - {}
        output_json_structure:
          title: Output JSON Structure
          description: >-
            Dictionary defining the structure of the expected JSON output, if
            output_format is 'json'.
          anyOf:
            - additionalProperties: {}
            - {}
        output_json_schema:
          title: Output JSON Schema
          description: >-
            JSON schema defining the structure of the expected output, if
            output_format is 'json'.
          anyOf:
            - additionalProperties: {}
            - {}
      description: Definition of a task to be executed by an agent.
    Agents.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    Agents.AssignGroupsRequest:
      title: AssignGroupsRequest
      required:
        - group_ids
      properties:
        group_ids:
          title: Group Ids
          items:
            format: uuid
    Agents.ToolDefinition:
      title: ToolDefinition
      required:
        - description
        - integration_name
        - name
      properties:
        name:
          title: Name
          description: Human-readable name of the tool.
        integration_name:
          title: Integration Name
          description: Identifier of the integration (e.g., 'serper', 'custom').
        description:
          title: Description
          description: Description of what the tool does.
        result_as_answer:
          title: Result As Answer
          description: >-
            If true, the tool's output should be treated as the agent's final
            answer.
          default: false
        tool_input:
          title: Tool Input
          description: Dictionary defining the input parameters required by the tool.
          anyOf:
            - additionalProperties: {}
            - {}
      description: Configuration for defining a tool that can be bound to agents or tasks.
    Agents.AgentConfig:
      title: AgentConfig
      required:
        - goal
        - name
        - role
      properties:
        name:
          title: Name
          description: Unique name of the agent.
        role:
          title: Role
          description: Title or function of the agent within the Crew.
        goal:
          title: Goal
          description: Primary objective or responsibility of the agent.
        backstory:
          title: Backstory
          description: Optional narrative to give context and personality to the agent.
          anyOf:
            - {}
            - {}
          default: ''
        tools:
          title: Tools
          description: List of tools this agent is allowed to use.
          anyOf:
            - $ref: '#/components/schemas/Agents.ToolConfig'
            - {}
        llm:
          title: LLM
          description: The language model used to power the agent.
          anyOf:
            - $ref: '#/components/schemas/Agents.LLMConfig'
            - {}
        max_iter:
          title: Max Iterations
          description: >-
            Maximum number of reasoning iterations allowed during task
            execution.
          default: 25
        reasoning:
          title: Reasoning
          description: >-
            If true, the agent will perform reasoning steps before executing
            tasks.
          anyOf:
            - {}
            - {}
          default: false
        max_reasoning_steps:
          title: Max Reasoning Steps
          description: >-
            Maximum number of reasoning steps the agent can take before
            executing a task.
          anyOf:
            - {}
            - {}
          default: 5
        allow_code_execution:
          title: Allow Code Execution
          description: >-
            If true, the agent can execute code as part of its reasoning
            process.
          anyOf:
            - {}
            - {}
          default: false
        code_execution_mode:
          title: Code Execution Mode
          description: >-
            Determines when the agent can execute code: 'safe' (default), or
            'unsafe'.
          anyOf:
            - enum:
                - safe
                - unsafe
            - {}
          default: safe
        max_retry_limit:
          title: Max Retry Limit
          description: >-
            Maximum number of retries allowed for task execution in case of
            failures.
          anyOf:
            - {}
            - {}
          default: 5
        knowledge_bases:
          title: Knowledge Bases
          description: List of knowledge bases that the agent can access.
          anyOf:
            - items:
                $ref: '#/components/schemas/Agents.KnowledgeBase'
            - {}
        allow_delegation:
          title: Allow Delegation
          description: >-
            If true, the agent can delegate tasks to other agents within the
            crew.
          anyOf:
            - {}
            - {}
          default: false
        framework:
          title: Framework
          description: The agent framework to be used, e.g., 'langgraph'.
          anyOf:
            - enum:
                - langgraph
                - crewai
            - {}
          default: crewai
        tasks:
          title: Tasks
          description: List of task definitions to be executed by the agents.
          anyOf:
            - items:
                $ref: '#/components/schemas/Agents.TaskDefinition'
            - {}
        planning:
          title: Planning
          description: If true, the agent can perform planning tasks.
          anyOf:
            - {}
            - {}
          default: true
        planning_model:
          title: Planning Model
          description: >-
            LLM model to use for planning tasks. If not specified, defaults to
            environment variable PLANNING_MODEL.
          anyOf:
            - {}
            - {}
        published_status:
          title: Published Status
          description: >-
            Publication state of the configuration, either published or
            unpublished.
          anyOf:
            - $ref: '#/components/schemas/Agents.PublishedStatus'
            - {}
          default: unpublished
        sub_agents:
          title: Sub Agents
          description: List of sub-agents under this agent.
          anyOf:
            - items:
                $ref: '#/components/schemas/Agents.SubAgent'
            - {}
        agent_type:
          title: Agent Type
          description: Type Of Agent
          anyOf:
            - $ref: '#/components/schemas/Agents.AgentType'
            - {}
          default: INDIVIDUAL
    Agents.GeneratorConfig:
      title: GeneratorConfig
      required:
        - message
      properties:
        message:
          title: Message
    Agents.LLMConfig:
      title: LLMConfig
      required:
        - llm
        - output_token_limit
        - provider
        - temperature
        - top_p
      properties:
        provider:
          title: Provider
          description: >-
            The name of the LLM service provider (e.g., OpenAI, Anthropic,
            Google
        llm:
          title: LLM
          description: The specific model to be used (e.g., gpt-4, claude-3-opus
        top_p:
          title: Top P
          description: >-
            The nucleus sampling value to control diversity. Typically a float
            string.
        temperature:
          title: Temperature
          description: >-
            Controls randomness in output generation; higher values = more
            randomness.
        output_token_limit:
          title: Output Token Limit
          description: >-
            Maximum number of tokens the model is allowed to generate in a
            response.
      description: Configuration for defining a LLM that can be bound to agents.
    Agents.RuntimeKnowledgeInjectionRequest:
      title: RuntimeKnowledgeInjectionRequest
      properties:
        kb_ids:
          title: Kb Ids
          description: >-
            List of Knowledge base IDs to add, either kb_ids or kb_names should
            be provided
          anyOf:
            - items: {}
            - {}
        kb_names:
          title: Kb Names
          description: List of Knowledge base names to add
          anyOf:
            - items: {}
            - {}
        is_append:
          title: Is Append
          description: Weather to append or replace Dynamic KBs , TRUE for append
          anyOf:
            - {}
            - {}
          default: true
        enhance_agent_goal:
          title: Enhance Agent Goal
          description: Weather to enhance agent goals w.r.t dynamic knowledge bases
          anyOf:
            - {}
            - {}
          default: true
    Agents.RunMode:
      title: RunMode
      enum:
        - execute
        - persist_only
    Agents.SubAgent:
      title: SubAgent
      required:
        - agent_id
        - name
      properties:
        name:
          title: Name
          description: Name of the sub-agent.
        agent_id:
          title: Agent ID
          description: Unique identifier of the sub-agent.
      description: Definition of a sub-agent reference.
    Agents.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/Agents.ValidationError'
    Agents.ToolConfig:
      title: ToolConfig
      properties:
        tool_ids:
          title: Tool IDs
          description: List of pre-registered tool identifiers
          anyOf:
            - items: {}
            - {}
        tool_definitions:
          title: Tool Definitions
          description: List of tool definitions to be used directly
          anyOf:
            - items:
                $ref: '#/components/schemas/Agents.ToolDefinition'
            - {}
    Agents.SchemaGenerationRequest:
      title: SchemaGenerationRequest
      required:
        - id
      properties:
        id:
          title: ID
          description: Agent ID (mandatory)
        agent_config:
          title: Agent Config
          description: >-
            Optional agent configuration. If not provided, will be fetched from
            database using id
          anyOf:
            - $ref: '#/components/schemas/Agents.AgentConfig'
            - {}
      description: |-
        Request model for schema generation endpoint.
        id is mandatory. If agent_config is provided, it will be used directly;
        otherwise, the agent will be fetched from the database using id.
    Inferencing.ChatCompletionResponse:
      title: ChatCompletionResponse
      required:
        - choices
        - model
      properties:
        id:
          title: Id
        object:
          title: Object
          default: chat.completion
        created:
          title: Created
        model:
          title: Model
        choices:
          title: Choices
          items:
            $ref: '#/components/schemas/Inferencing.ChatCompletionChoice'
        usage:
          anyOf:
            - $ref: '#/components/schemas/Inferencing.ChatCompletionUsage'
            - {}
        prompt_logprobs:
          title: Prompt Logprobs
          anyOf:
            - {}
            - {}
      description: Schema for a full chat completion response.
    Inferencing.ChatMessage:
      title: ChatMessage
      required:
        - content
        - role
      properties:
        role:
          title: Role
          enum:
            - system
            - user
            - assistant
        content:
          title: Content
          anyOf:
            - {}
            - items:
                anyOf:
                  - $ref: '#/components/schemas/Inferencing.ChatMessageContentText'
                  - $ref: '#/components/schemas/Inferencing.ChatMessageContentImage'
        name:
          title: Name
          anyOf:
            - {}
            - {}
      description: Chat message schema supporting roles and multi-modal content.
    Inferencing.ToolCall:
      title: ToolCall
      required:
        - function
        - id
        - type
      properties:
        id:
          title: Id
        type:
          title: Type
        function:
          $ref: '#/components/schemas/Inferencing.FunctionCall'
      description: Tool call schema wrapping function calls.
    Inferencing.ChatMessageContentText:
      title: ChatMessageContentText
      required:
        - text
        - type
      properties:
        type:
          title: Type
        text:
          title: Text
      description: Message content schema for text input.
    Inferencing.JailbreakDetectRequest:
      title: JailbreakDetectRequest
      required:
        - input
      properties:
        input:
          title: Input
      description: Schema for a jailbreak detection request.
    Inferencing.ResponseFormatJSONSchema:
      title: ResponseFormatJSONSchema
      required:
        - json_schema
        - type
      properties:
        type:
          title: Type
        json_schema:
          $ref: '#/components/schemas/Inferencing.JSONSchema'
      description: Response format using a provided JSON schema.
    Inferencing.ChatMessageContentImage:
      title: ChatMessageContentImage
      required:
        - image_url
        - type
      properties:
        type:
          title: Type
        image_url:
          title: Image Url
          additionalProperties: {}
      description: Message content schema for image input.
    Inferencing.ResponseFormatJSONObject:
      title: ResponseFormatJSONObject
      required:
        - type
      properties:
        type:
          title: Type
      description: Response format indicating JSON object output.
    Inferencing.ResponseFormatText:
      title: ResponseFormatText
      required:
        - type
      properties:
        type:
          title: Type
      description: Response format indicating plain text output.
    Inferencing.EmbeddingObject:
      title: EmbeddingObject
      required:
        - embedding
        - index
      properties:
        object:
          title: Object
          default: embedding
        index:
          title: Index
        embedding:
          title: Embedding
          anyOf:
            - items: {}
            - {}
      description: Schema representing a single embedding vector.
    Inferencing.OpenAIErrorResponse:
      title: OpenAIErrorResponse
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/Inferencing.OpenAIErrorDetail'
      description: Top-level error response schema.
    Inferencing.RankerRequest:
      title: RankerRequest
      required:
        - candidates
        - model
      properties:
        model:
          title: Model
        candidates:
          title: Candidates
          items:
            maxItems: 2
            minItems: 2
      description: Schema for a ranker request containing model and candidate pairs.
    Inferencing.ListModelsResponse:
      title: ListModelsResponse
      required:
        - data
      properties:
        object:
          title: Object
          default: list
        data:
          title: Data
          items:
            $ref: '#/components/schemas/Inferencing.ModelCard'
      description: Schema for a list of available models.
    Inferencing.UniphoreSetupList:
      title: UniphoreSetupList
      required:
        - default_setup
      properties:
        object:
          title: Object
          default: list
        default_setup:
          title: Default Setup
        data:
          title: Data
          items:
            $ref: '#/components/schemas/Inferencing.UniphoreSetupCard'
      description: Schema for a list of provider-specific setup cards.
    Inferencing.RankerResponse:
      title: RankerResponse
      required:
        - scores
      properties:
        scores:
          title: Scores
          items: {}
      description: Schema for a ranker response containing ranking scores.
    Inferencing.JSONSchema:
      title: JSONSchema
      required:
        - description
        - name
        - strict
      properties:
        name:
          title: Name
        description:
          title: Description
          anyOf:
            - {}
            - {}
        schema:
          title: Schema
        strict:
          title: Strict
          anyOf:
            - {}
            - {}
      description: JSON Schema definition for structured response format.
    Inferencing.ChatCompletionChoice:
      title: ChatCompletionChoice
      required:
        - index
        - message
      properties:
        index:
          title: Index
        message:
          $ref: '#/components/schemas/Inferencing.ChatCompletionMessage'
        logprobs:
          title: Logprobs
          anyOf:
            - {}
            - {}
        finish_reason:
          title: Finish Reason
          anyOf:
            - {}
            - {}
        stop_reason:
          title: Stop Reason
          anyOf:
            - {}
            - {}
      description: Schema representing one possible chat completion choice.
    Inferencing.ValidationError:
      title: ValidationError
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          items:
            anyOf:
              - {}
              - {}
        msg:
          title: Message
        type:
          title: Error Type
    Inferencing.EmbeddingResponse:
      title: EmbeddingResponse
      required:
        - data
        - model
        - usage
      properties:
        object:
          title: Object
          default: list
        data:
          title: Data
          items:
            $ref: '#/components/schemas/Inferencing.EmbeddingObject'
        model:
          title: Model
        usage:
          $ref: '#/components/schemas/Inferencing.UsageObject'
      description: Schema for an embedding response.
    Inferencing.OpenAIErrorDetail:
      title: OpenAIErrorDetail
      required:
        - message
        - type
      properties:
        message:
          title: Message
        type:
          title: Type
        param:
          title: Param
          anyOf:
            - {}
            - {}
        code:
          title: Code
          anyOf:
            - {}
            - {}
      description: Detailed error schema for OpenAI-compatible APIs.
    Inferencing.EmbeddingRequest:
      title: EmbeddingRequest
      required:
        - input
        - model
      properties:
        model:
          title: Model
        input:
          title: Input
          anyOf:
            - {}
            - items: {}
            - items: {}
            - items:
                items: {}
        user:
          title: User
          anyOf:
            - {}
            - {}
        encoding_format:
          title: Encoding Format
          anyOf:
            - enum:
                - float
                - base64
            - {}
          default: float
      description: Schema for an embedding request.
    Inferencing.UniphoreModelList:
      title: UniphoreModelList
      properties:
        object:
          title: Object
          default: list
        data:
          title: Data
          items:
            $ref: '#/components/schemas/Inferencing.UniphoreModelCard'
      description: Schema for a list of provider-specific model cards.
    Inferencing.ChatCompletionRequest:
      title: ChatCompletionRequest
      required:
        - messages
        - model
      properties:
        model:
          title: Model
        messages:
          title: Messages
          items:
            $ref: '#/components/schemas/Inferencing.ChatMessage'
        temperature:
          title: Temperature
          anyOf:
            - {}
            - {}
          default: 1
        top_p:
          title: Top P
          anyOf:
            - {}
            - {}
          default: 1
        'n':
          title: 'N'
          anyOf:
            - {}
            - {}
          default: 1
        stream:
          title: Stream
          anyOf:
            - {}
            - {}
          default: false
        stop:
          title: Stop
          anyOf:
            - {}
            - items: {}
            - {}
        max_tokens:
          title: Max Tokens
          anyOf:
            - {}
            - {}
        presence_penalty:
          title: Presence Penalty
          anyOf:
            - {}
            - {}
          default: 0
        frequency_penalty:
          title: Frequency Penalty
          anyOf:
            - {}
            - {}
          default: 0
        logit_bias:
          title: Logit Bias
          anyOf:
            - additionalProperties: {}
            - {}
        user:
          title: User
          anyOf:
            - {}
            - {}
        tools:
          title: Tools
          anyOf:
            - items: {}
            - {}
        tool_choice:
          title: Tool Choice
          anyOf:
            - {}
            - {}
            - {}
        response_format:
          title: Response Format
          anyOf:
            - $ref: '#/components/schemas/Inferencing.ResponseFormatText'
            - $ref: '#/components/schemas/Inferencing.ResponseFormatJSONObject'
            - $ref: '#/components/schemas/Inferencing.ResponseFormatJSONSchema'
            - {}
      description: Schema for a chat completion request.
    Inferencing.JailbreakDetectResponse:
      title: JailbreakDetectResponse
      required:
        - jailbreak
        - score
      properties:
        jailbreak:
          title: Jailbreak
        score:
          title: Score
      description: Schema for a jailbreak detection response.
    Inferencing.ChatCompletionMessage:
      title: ChatCompletionMessage
      required:
        - role
      properties:
        role:
          title: Role
          enum:
            - system
            - user
            - assistant
        content:
          title: Content
          anyOf:
            - {}
            - {}
        tool_calls:
          title: Tool Calls
          anyOf:
            - items:
                $ref: '#/components/schemas/Inferencing.ToolCall'
            - {}
      description: Schema for a single message returned in chat completion.
    Inferencing.FunctionCall:
      title: FunctionCall
      required:
        - arguments
        - name
      properties:
        name:
          title: Name
        arguments:
          title: Arguments
      description: Function call schema for tool usage in responses.
    Inferencing.ModelCard:
      title: ModelCard
      required:
        - created
        - id
        - owned_by
      properties:
        id:
          title: Id
        object:
          title: Object
          default: model
        created:
          title: Created
        owned_by:
          title: Owned By
      description: Schema for a generic model card.
    Inferencing.UniphoreModelCard:
      title: UniphoreModelCard
      required:
        - id
        - owned_by
        - provider
        - type
      properties:
        id:
          title: Id
        object:
          title: Object
          default: model
        created:
          title: Created
        owned_by:
          title: Owned By
        provider:
          title: Provider
        type:
          title: Type
        subtype:
          title: Subtype
          anyOf:
            - {}
            - {}
      description: Schema for a provider-specific model card.
    Inferencing.UniphoreSetupCard:
      title: UniphoreSetupCard
      required:
        - id
        - owned_by
        - provider
      properties:
        id:
          title: Id
        object:
          title: Object
          default: setup
        created:
          title: Created
        owned_by:
          title: Owned By
        provider:
          title: Provider
      description: Schema for a provider-specific setup card.
    Inferencing.ChatCompletionUsage:
      title: ChatCompletionUsage
      required:
        - completion_tokens
        - prompt_tokens
        - total_tokens
      properties:
        prompt_tokens:
          title: Prompt Tokens
        completion_tokens:
          title: Completion Tokens
        total_tokens:
          title: Total Tokens
      description: Token usage statistics for chat completions.
    Inferencing.HTTPValidationError:
      title: HTTPValidationError
      properties:
        detail:
          title: Detail
          items:
            $ref: '#/components/schemas/Inferencing.ValidationError'
    Inferencing.UsageObject:
      title: UsageObject
      required:
        - prompt_tokens
        - total_tokens
      properties:
        prompt_tokens:
          title: Prompt Tokens
        total_tokens:
          title: Total Tokens
      description: Schema for token usage in embedding responses.
    PlatformConfig.Pagination:
      properties:
        page:
          format: int32
        size:
          format: int32
        noOfElements:
          format: int32
        totalPages:
          format: int32
        totalElements:
          format: int64
        hasNext: {}
        hasPrevious: {}
        last: {}
        first: {}
    PlatformConfig.JsonNode: {}
    PlatformConfig.ConnectorUpdateReq:
      properties:
        connectorId:
          minLength: 1
          description: Connector ID to update
          example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
        tenantId:
          minLength: 1
          description: Tenant ID of the user
          example: tenant-123
        userId:
          description: User ID of the requester
          example: user-456
        description:
          description: Description of the connector
          example: This is an updated sample connector
        name:
          description: Updated name of the connector
          example: Updated S3 Source
        type:
          description: Updated type of the connector
          example: s3
        config:
          $ref: '#/components/schemas/PlatformConfig.JsonNode'
      description: Request object for updating a Connector
    PlatformConfig.AskQuestionRequest:
      properties:
        tenantId:
          minLength: 1
          description: Tenant ID of the user
          example: tenant-123
        userId:
          minLength: 1
          description: User ID of the requester
          example: user-456
        question:
          minLength: 1
          description: User query to be answered
          example: How do I reset my password?
        knowledgeBaseId:
          minLength: 1
          description: KnowledgeBase Identifier
          example: c72ab301-4658-4252-9f5f-aeb742bd38d9
        ragPrompt:
          description: Document RAG system prompy
          example: you are intelliget system prompt....
        chartable:
          description: Need Chartable or not
          example: false
        setup:
          description: Choose the setup of the model
          example: x-forge-<kb_id>-date-<version>
      description: Request object for asking a question
    PlatformConfig.ApiKeyRegistryResponse:
      properties:
        id:
          format: uuid
        tenantId:
          format: uuid
        keyName: {}
        value: {}
        description: {}
        type: {}
        expiryDate:
          format: date-time
        insertBy:
          format: uuid
        insertTime:
          format: date-time
        updateBy:
          format: uuid
        updateTime:
          format: date-time
        source: {}
        version:
          format: double
    PlatformConfig.SourceConnectorCreateReq:
      properties:
        tenantId:
          description: Tenant ID of the user
          example: tenant-123
        userId:
          description: User ID of the requester
          example: user-456
        description:
          description: Description of the connector
          example: This is a sample connector
        type:
          minLength: 1
          description: Type of the connector
          example: s3
        name:
          description: Name of the connector
          example: My S3 Source
        config:
          $ref: '#/components/schemas/PlatformConfig.JsonNode'
        sourceType:
          minLength: 1
          description: Source type
          example: RELATIONAL DB
      description: Request object for creating a Source Connector
    PlatformConfig.ServerSentEventJobRes: {}
    PlatformConfig.PageResponseApiKeyRegistryResponse:
      properties:
        content:
          items:
            $ref: '#/components/schemas/PlatformConfig.ApiKeyRegistryResponse'
        pagination:
          $ref: '#/components/schemas/PlatformConfig.Pagination'
    PlatformConfig.ConnectorCreateReq:
      properties:
        tenantId:
          description: Tenant ID of the user
          example: tenant-123
        userId:
          description: User ID of the requester
          example: user-456
        description:
          description: Description of the connector
          example: This is a sample connector
        type:
          minLength: 1
          description: Type of the connector
          example: s3
        name:
          description: Name of the connector
          example: My S3 Source
        config:
          $ref: '#/components/schemas/PlatformConfig.JsonNode'
      description: Request object for creating a Connector
    PlatformConfig.ApiKeyUpdateRequest:
      properties:
        value:
          maxLength: 512
          minLength: 0
        description:
          maxLength: 1024
          minLength: 0
        type:
          maxLength: 50
          minLength: 0
        expiryDate:
          format: date-time
        source:
          maxLength: 255
          minLength: 0
    PlatformConfig.WorkflowValidateReq:
      properties:
        name:
          description: Name of the workflow
          example: Test Wf
      description: Request object for Validating a Workflow
    PlatformConfig.TagGetQueryResponse:
      properties:
        sql_query:
          description: SQL query generated
          example: SELECT * FROM "xf_destination_param";
        description:
          description: Description of what the query does
        follow_up_questions:
          description: Follow-up questions suggested
          example:
            - What is the trend over time?
            - Any filters applied?
          items: {}
        is_valid_sql:
          description: Indicates if the SQL is valid
          example: 'True'
        reasoning:
          description: Reason why validation succeeded or failed
          example: SQL is syntactically correct.
        query_execution_result:
          description: Result of executing the query
          items: {}
        final_answer:
          description: Final answer or interpretation for the end user
      description: Detailed result object from tag query execution
    PlatformConfig.KnowledgeBaseGroupsAssignReq:
      properties:
        groups:
          description: Updated group ids
          example:
            - 123
          items: {}
      description: Request object for assigning groups to knowledgebase
    PlatformConfig.ApiKeyCreateRequest:
      required:
        - expiryDate
        - tenantId
      properties:
        tenantId:
          format: uuid
        keyName:
          maxLength: 255
          minLength: 0
        value:
          maxLength: 512
          minLength: 0
        description:
          maxLength: 1024
          minLength: 0
        type:
          maxLength: 50
          minLength: 0
        expiryDate:
          format: date-time
        source:
          maxLength: 255
          minLength: 0
    PlatformConfig.ServerSentEventJobDetailsRes: {}
    PlatformConfig.GenerateChartResponse:
      properties:
        chart:
          description: chart data
          example: >-
            iVBORw0KGgoAAAANSUhEUgAAC7gAAAcICAYAAACsf4x4AAAAOnRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjEwLjMsIGh0dHBzOi8vbWF0cGxvdGxpYi5vcmcvZiW
      description: >-
        Response object from QnA service after processing a generate chart
        request
    PlatformConfig.GenerateChartRequest:
      properties:
        tenantId:
          minLength: 1
          description: Tenant ID of the user
          example: tenant-123
        userId:
          minLength: 1
          description: User ID of the requester
          example: user-456
        chart_type:
          description: Type of chart to generate (applicable if question_type is 'chart')
          example: bar
        knowledgeBaseId:
          minLength: 1
          description: KnowledgeBase Identifier
          example: 12345
      description: Request object for asking to generate chart for a question
    PlatformConfig.CreateSLMRequest:
      required:
        - description
        - setup
        - slmName
        - tenantId
        - userId
      properties:
        slmName:
          description: Name of the slm
          example: MySlm
        description:
          description: Description of the slm
          example: My description
        setup:
          description: setup used for the slm
          example: uniphore-09092025
        domainName:
          description: domainName of SLM
          example: Insurance SLM
        tenantId:
          description: Tenant ID of the user
          example: tenant-123
        userId:
          description: User ID of the user
          example: user-123
      description: Create SLM request object for creating a new SLM
    PlatformConfig.DocumentContext:
      properties:
        content:
          description: Content of the document chunk
          example: This is a relevant paragraph from the document.
        doc_name:
          description: Name of the document
          example: user_manual.pdf
        score:
          description: Relevance score of the document chunk
          format: double
          example: 0.9982209929893932
      description: Document chunk used as context for the answer
    PlatformConfig.ConfigurationRequest:
      required:
        - config
        - knowledgeBaseId
        - type
      properties:
        knowledgeBaseId:
          description: Knowledge Base Id
          example: c72ab301-4658-4252-9f5f-aeb742bd38d9
        type:
          description: Type of the configuration
          example: GUARDRAIL
        config:
          description: Configuration
          example: json object
      description: Request object for create configuration
    PlatformConfig.Pageable:
      properties:
        page:
          minimum: 0
          format: int32
        size:
          minimum: 1
          format: int32
        sort:
          items: {}
    PlatformConfig.SLMInferRequest:
      required:
        - query
        - slm_id
      properties:
        query:
          description: Query for domain inference
          example: What is the main topic of this document?
        slm_id:
          description: Unique identifier for the SLM instance
          example: 123e4567-e89b-12d3-a456-426614174000
      description: SLM inference request object for inferring domain information
    PlatformConfig.NewSLMReq:
      required:
        - slmName
      properties:
        slmName:
          description: Name of the slm
          example: MySlm
        tenantId:
          minLength: 1
          description: Tenant ID of the user
          example: tenant-123
        domainName:
          description: Domain name of the SLM
          example: Insurance
      description: Request object for updating a SLM details
    PlatformConfig.AskQuestionResponse:
      properties:
        questionId:
          description: Unique identifier for the question
          example: 4d649cd3-54b8-4295-8dd7-23da0f913de4
        answer:
          description: Generated answer from the RAG system
          example: To reset your password, go to Settings > Security > Reset Password.
        chartable:
          description: whether genearatred answer has chart available or not
          example: true
        chart:
          description: chart data
          example: >-
            iVBORw0KGgoAAAANSUhEUgAAC7gAAAcICAYAAACsf4x4AAAAOnRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjEwLjMsIGh0dHBzOi8vbWF0cGxvdGxpYi5vcmcvZiW
        context:
          description: List of document chunks that formed the context for the answer
          items:
            $ref: '#/components/schemas/PlatformConfig.DocumentContext'
        followUpQuestions:
          description: List of follow-up questions that can be asked post QnA
          example:
            - What is the next step?
            - Can you elaborate on that?
          items: {}
        tag_result:
          $ref: '#/components/schemas/PlatformConfig.TagGetQueryResponse'
      description: Response object from QnA service after processing a question
    PlatformConfig.Config:
      properties:
        settings:
          additionalProperties: {}
    PlatformConfig.LoraAdapterNotification:
      required:
        - setup
        - tenantId
      properties:
        setup:
          description: Name of the setup
          example: MySetup
        tenantId:
          description: ID of the tenant
          example: tenant123
      description: Notify on successful Lora Adapter Deployment
    PlatformConfig.ServerSentEventConnectorStatusRes: {}
    PlatformConfig.SourceConnectorUpdateReq:
      properties:
        connectorId:
          minLength: 1
          description: Connector ID to update
          example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
        tenantId:
          minLength: 1
          description: Tenant ID of the user
          example: tenant-123
        userId:
          description: User ID of the requester
          example: user-456
        description:
          description: Description of the connector
          example: This is an updated sample connector
        name:
          description: Updated name of the connector
          example: Updated S3 Source
        type:
          description: Updated type of the connector
          example: s3
        config:
          $ref: '#/components/schemas/PlatformConfig.JsonNode'
        sourceType:
          minLength: 1
          description: Source type
          example: RELATIONAL DB
      description: Request object for creating a Source Connector
    PlatformConfig.WorkflowCreateReq:
      required:
        - description
        - nodes
        - workflowType
      properties:
        workflowName:
          minLength: 1
        description: {}
        workflowType:
          enum:
            - DOCUMENT
            - RELATIONAL_DB
            - CONVERSATION
            - ENTERPRISE_APPLICATION
            - DOCUMENT_CATEGORIZATION
            - CRAWLER
        workflowTemplate: {}
        sourceId: {}
        destinationId: {}
        nodes:
          items:
            $ref: '#/components/schemas/PlatformConfig.Node'
        schedule:
          enum:
            - EVERY_15_MINUTES
            - EVERY_HOUR
            - EVERY_2_HOURS
            - EVERY_4_HOURS
            - EVERY_6_HOURS
            - EVERY_8_HOURS
            - EVERY_10_HOURS
            - EVERY_12_HOURS
            - DAILY
            - WEEKLY
            - MONTHLY
        reprocess_all: {}
    PlatformConfig.KnowledgeBaseUpdateReq:
      properties:
        name:
          description: Updated name of the knowledgeBase
          example: MySlm
        description:
          description: Updated description of the knowledgeBase
          example: My Updated description
        roles:
          description: Updated roles
          example: '[CEO]'
          items: {}
        ragPrompt:
          description: Document RAG propmpt
          example: you are an intelligent assistant...
        isEntitiesAllowed:
          description: Allow to use entities as part of retreival pipleine
          example: 'True'
      description: Request object for updating a KnowledgeBase
    PlatformConfig.SLMFeedbackRequest:
      properties:
        feedback:
          minLength: 1
          description: Feedback reaction of the user
          example: up
        reason:
          description: Provided reason for the feedback
          example: The answer was helpful
        comments:
          description: Additional comments from the user
        slm_id:
          minLength: 1
          description: Unique identifier for the SLM instance
          example: 123e4567-e89b-12d3-a456-426614174000
      description: Request object for submitting feedback to SLM Question and Answer
    PlatformConfig.Node:
      properties:
        title:
          minLength: 1
        operation:
          minLength: 1
        nodeType:
          minLength: 1
        order:
          format: int32
        config:
          $ref: '#/components/schemas/PlatformConfig.Config'
        dependencies:
          items: {}
    PlatformConfig.SLMPairingReq:
      required:
        - roles
        - slmConfig
        - slmDescription
        - slmMasterId
        - slmName
      properties:
        slmMasterId:
          description: slm base/master model id
          example: c72ab301-4658-4252-9f5f-aeb742bd38d9
        slmName:
          description: Updated name of the slm
          example: MySlm
        slmDescription:
          description: Updated description of the slm
          example: My Updated description
        roles:
          description: Updated roles of the knowledgebase
          example:
            - CEO
          items: {}
        slmConfig:
          $ref: '#/components/schemas/PlatformConfig.JsonNode'
      description: Request object for updating a SLM details
  securitySchemes:
    Darwin.bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    Orchestrator.bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    Agents.bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
